I'm not sure if the DAL includes any code to de-code JSON queries, but I 
found this web2py slice written around the same time that Query.as_json was 
added to the DAL: 
http://www.web2pyslices.com/slice/show/1593/class-for-building-db-queries-from-python-dictionaries

Anthony

On Tuesday, May 27, 2014 4:50:01 AM UTC-4, Manuele wrote:
>
> Hi! 
> Looking in the code[1] I noticed that it's possible to serialize Query 
> object into json string... how can I rebuild the query object server side? 
>
> Thank you very mutch 
>
>     M. 
>
> [1] https://github.com/web2py/web2py/blob/master/gluon/dal.py#L10430 
>

-- 
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