I was trying to implement this but I can't understand one thing.
In this example:
db.define_table('abonent', Field('a'))
db.define_table('person', db.abonet, Field('b')) # has a,b
db.define_table('company', db.abonet, Field('c')) # has a,c
You would create many persons and companies, how would you select them all
from the abonent? Since I tried it and the abonent table will be empty...
For example:
some table 1------n abonent , and that abonent is either a person or a
company.
Any ideas?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.