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 <denes1...@yahoo.ca> 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 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