>
> I am looking for a way to expand all referenced fields and have read about 
> the as_trees() method for selecting rows. I do not quite understand the 
> parent field requirement, but say we have the following 
> tables/relationships, was looking for a nested dict output which could be 
> JSONified as follows:
>

I guess that the as_trees method will not make a tree with everything. It 
seems to work only with self referenced tables with a parent and children 
reference and list:reference fields.

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to