On Jul 21, 2009, at 8:49 PM, Yarko Tymciurak wrote:

> There are two formats for declaring a reference:
>
> ....
> db.Field('owner', db.other_table)   # this must have other_table  
> already defined, or it is a Python error;
> ...
> db.Field('owner', 'reference other_table')  # this is delayed  
> evaluation, and what you would use to have two tables cross link  
> each other;
>

This could use a little more detail in the manual, which talks about  
it in terms of self-reference, but doesn't really explain the  
mechanism, or mention the cross-reference usage. IIRC.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to