I was wondering about creating an object inside an object. As shown in the 
link above:


{
  'created_on': ISODate('...'),
  'author' : {
    'name': 'Bob',
    'email': 'b...@example.org'
  },
  'text' : 'The cake is a lie'}




instead of that dict someone can also write it as:


{
  'created_on': ISODate('...'),
  'author_name' : 'Bob',
   'author_email': 'b...@example.org',
  'text' : 'The cake is a lie'}


Django handles with "EmbeddedModelField". How does web2py handles that? 


On Tuesday, May 5, 2015 at 12:58:48 PM UTC-4, Cássio Botaro wrote:
>
> Actually DAL have experimental mongodb support.
> You can see 
> http://www.web2pyslices.com/slice/show/1580/save-the-earth-from-a-total-data-mess-with-mongodbadapter
>

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