Exactly. In web2py one can use mongo db in two ways: 1) using the pymongo apis directly. It does not need the DAL and does not need them. They would get in the way. 2) using the DAL and "pretend" you have a sql-like table structure on top of mongo. You have to db.define_table(s) and you can query them as you would with a relational database (no joins). The records uuid is automatically converted to a long integer id. You can extend your model by adding tables and fields without overhead and without need to do migrations but you still need to alter the model is you want to store new filelds in a record. This also allow you to use SQLFORM and SQLFORM.grid.
Depending on what you want to do you can choose 1 and 2. You can partially mix and match them but you cannot have both of them at the same time. For example what would the point of SQLFORM(db.mytable) or SQLFORM.grid(db.mytable) if db.mytable has no field structure associated to it? Massimo On Thursday, 23 August 2012 15:38:54 UTC-5, Vasile Ermicioi wrote: > > > If thats true, then NoSQL support isnt yet ready. >> >> > in web2py you define TABLES which have FIELDS, and NoSQL support in web2py > means that you are running your models on top of a NoSQL database (e.g. > MongoDB) > > there is not yet support for queries like > db(db.user.country.name ='US').select() > > but to my knowledge django doesn't support it either, > > do you know any python framework or ORM library with support for nosql > features? > --

