I have another unique column in my table that I would like to use as index for record representation. How do I tell web2py to use another index?
Ttrying to use like:
db.mytable.thisfield.represent = lambda id:
db.other(myidx).thatfield
I have another unique column in my table that I would like to use as index for record representation. How do I tell web2py to use another index?
Ttrying to use like:
db.mytable.thisfield.represent = lambda id:
db.other(myidx).thatfield