Given:

db.define_table('t1',
    Field('f11'),
    Field('f12', 'integer'),
)

db.define_table('t2',
    Field('f21'),
    Field('f22', db.t1),
)


I make this query [1] (I see that you can not) but without using a
subselect

[1]
qry1 = (db.t2.f22.f12 == 10)
rows = db(qry1).select(db.t2.ALL)

How would be the simplest way to query?

Jose

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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