I am using mongo with example tables:

db.define_table('domain',
                Field('name', 'string'),
                format='%(name)s'
                )

db.define_table('whois',
                Field('domain_id', 'reference domain', represent=lambda id, 
r: '%s' % (db.domain(id).name)),
                Field('domain_handle', 'string')
                )

Then I:

rows = db(db.whois.domain_handle).select(db.whois.ALL)
for row in rows.render():
    print row.domain_id



I get the record but also the warning:

WARNING:root:mongodb does not support for_update
WARNING:root:select attribute not implemented: orderby_on_limitby
DH12345

Am i doing wrong or is there another way to represent the record without 
creating the warning?

Thank you

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