I have also been working on the select matter, so maybe it would be wise to
cooperate?
I can add you to my dropbox and we can work together?

Regards Mark
-----Oorspronkelijk bericht-----
Van: web2py@googlegroups.com [mailto:web2py@googlegroups.com] Namens Paul
Verzonden: zaterdag 3 december 2011 12:03
Aan: web2py-users
Onderwerp: [web2py] mongodb and web2py

Hi All,

Since I'm interested in python, web2py and recently mongodb and after seeing
breedvel...@gmail.com post
http://code.google.com/p/web2py/issues/detail?id=497
to get inserts on the MongoDBAdapter working I've been hacking the
MongoDBAdapter code further to get select (and,or,eq,gt,lt,le,ge,ne
including orderby attribute), count, update and delete, drop and truncate
working. The code is very much a hack, is only going to work for a subset of
the available field types etc, as I'm still learning the dal code and had
issues around the dal using 'id' as a primary key and mongodb using '_id' of
type objectid, pymongo's required syntax etc.. Let me know where to post the
code/changes so others can check this out, I'm not sure if Massimo still had
any plans to implement this adapter?

Thanks

Paul

-----
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 2012.0.1873 / Virusdatabase: 2102/4653 - datum van uitgifte:
12/02/11

Reply via email to