On Monday, June 27, 2016 at 2:00:30 AM UTC-4, Annet wrote:
>
> Hi Anthony,
>
> Thanks for your reply. 
> ._select() works.
>
> I have not been able to figure out the 'one nested select' solution.
>

If you are using ._select(), then everything is happening in a single query 
rather than two queries (._select simply returns a SQL string, which then 
gets passed to .belongs).

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to