you can do it now but with a different syntax

dbX.define_table('dog',SQLField('name'),SQLField
('owner','integer',requires=IS_IN_DB(dbY,'person.id','%(name)s')))

On Jun 6, 7:33 pm, DenesL <[email protected]> wrote:
> Massimo,
> in the new DAL, will this be possible?:
>
> dbX.define_table('dog',SQLField('name'),SQLField('owner',dbY.person))
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to