Thank you Alan and Massimo and others. I didn't realize mongodb adaptor 
support reference field. My bad.

Thanks for all the help guys.


On Thursday, May 7, 2015 at 9:59:58 AM UTC-4, Alan Etkin wrote:
>
> I did not check the django app code but if you want to handle embedded 
> json objects you should use table definitions with a json field.
>
> Something like
> db.define_table("mytable", Field("embeddedobject", "json") # db is a 
> mongodb connection (DAL instance)
>
>
>

-- 
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/d/optout.

Reply via email to