Im using mysql backend and like to do this sort of query, is it
possible with DAL?
SELECT w1.key, (SELECT COUNT(*) FROM words w2 WHERE w2.parent = w1.id)
AS childs
FROM words w1
WHERE w1.key IN ('key1', 'key2', 'key3')
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---