The online book has a fairly useful search;

For your question, see:
http://web2py.com/book/default/section/6/13

Regards,
- Yarko

On Jul 3, 8:45 am, Rick <[email protected]> wrote:
> Hi,
>
> I would like to link a table to its own model like this:
>
>         db.define_table('person',
>                 Field('name'),
>                 Field('child', db.person))
>
> I understand that I should first initiate the table and then link it
> to itself. But how to do that?
>
> Thanks in advance for help!

Reply via email to