On Saturday, July 6, 2013 10:05:14 AM UTC-4, Mark Finkelstein wrote:

> Sorry, small mistake there, I meant table and by 'stored in' I meant 
> stored in the same way other formatting is stored, not in the DB.
>

You can add arbitrary attributes to Table and Field objects:

db.mytable._my_table_attribute = 'my custom table attribute'
db.mytable.myfield._my_field_attribute = 'my custom field attribute'

You can also access the table and its attributes from the Field object:

db.mytable.myfield._table._my_table_attribute

Anthony

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to