Looking for ideas on how to get the result of a field's repr instead
of its raw value when doing a select.  Example:

db.define_table('foo', Field('bar', represent=lambda x, row:
x.upper()))
db.foo.insert({'bar':'aaa'})

then in my controller...

stuff = db().select(db.foo.ALL)

The value of stuff[0].bar is 'aaa' but I want 'AAA' (the output of the
field's "represent" function).

Reply via email to