Dear Massimo,

I downloaded the trunk and I am currently testing the MongoDB Adapter
and I can tell that inserting currently isn't working. Also the
creation of tables doesn't work.

First question, shall I put the bugs and improvements that I find in
the Issue list or just in this discussion?

Secondly, the create_table method, is it possible to just skip the
function with a pass command? Cause collection in mongodb are created
on first insert of an document. There are capped collections in
MongoDB which offer better performance, but there data size is fixed.
My advise would be that by default the model is just passed(if not
needed somewhere else in web2py) and we could later implement the
capped collections. Because I want to have the adapter working first.

def create_table(self, table, migrate=True, fake_migrate=False,
polymodel=None):
        pass
                #May capped collection here? 
http://www.mongodb.org/display/DOCS/Capped+Collections
                #because pymongo create collection on first insert (inserting a
document) http://api.mongodb.org/python/2.0/tutorial.html

Regards Mark,

Reply via email to