Twinning tables in DAL

32 views
Skip to first unread message

Dave S

unread,
Oct 2, 2021, 10:21:42 PM10/2/21
to web2py-users
I need a reminder:

If I want a given table structure to be used in multiple tables (different instances existing at the same time), how do I set up my model?  For small tables (lines of def) and a small number of tables, I can do a block copy, but is there a more, um, dynamic way to do this?

/dps

Anthony

unread,
Oct 4, 2021, 12:29:05 PM10/4/21
to web2py-users

Dave S

unread,
Dec 2, 2021, 8:57:16 AM12/2/21
to web2py-users

On Monday, October 4, 2021 at 5:29:05 AM UTC-7 Anthony wrote:
See http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Table-inheritance.


Thank you.


/dps
Reply all
Reply to author
Forward
0 new messages