OK, I will find some time in the next few days to look at this.. Thanks for your quick response to the question..
On Wed, May 4, 2011 at 8:02 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Please help me try if > > db=DAL('mongodb://127.0.0.1:5984/db') > db.define_table('mytable',...) > db.mytable.insert(...) > > try different field types and let me know which ones fail. > > works. > > On May 4, 9:42 am, "David J." <da...@styleflare.com> wrote: > > Ahh; Ok; > > > > Perhaps I will use MongEngine for now and then come back to DAL once we > > have time for it; > > > > I think its not worth your time to build in support for something not so > > many people are using; > > > > Besides anyone can use MongoEngine with Web2py without much difficulty; > > > > I did some simple tests before just to see; I am going to spend more > > time with it now and see what problems I run into; > > > > Thanks. > > > > On 5/4/11 10:30 AM, Massimo Di Pierro wrote: > > > > > > > > > > > > > > > > > mongodb with DAL does not currently work but, if you help with tests, > > > we could make it work > > > > > On May 4, 8:56 am, "David J."<da...@styleflare.com> wrote: > > >> Is this in trunk; > > > > >> I will start a new project today and use Mongo For DB > > > > >> I think I tried it last month and I had some problems; I didnt have > the > > >> time to look into it. > > > > >> I will update and try again. > > > > >> Thanks. > > > > >> On 5/4/11 9:30 AM, Massimo Di Pierro wrote: > > > > >>> fixing it now. Looks like not many people testing it. :-) > > >>> On May 3, 9:56 pm, joseph simpson<jjs0...@gmail.com> wrote: > > >>>> The current dal.py file contains the following code, between lines > > >>>> 3381 and 3404: > > >>>> ADAPTERS = { > > >>>> 'sqlite': SQLiteAdapter, > > >>>> 'sqlite:memory': SQLiteAdapter, > > >>>> 'mysql': MySQLAdapter, > > >>>> 'postgres': PostgreSQLAdapter, > > >>>> 'oracle': OracleAdapter, > > >>>> 'mssql': MSSQLAdapter, > > >>>> 'mssql2': MSSQL2Adapter, > > >>>> 'db2': DB2Adapter, > > >>>> 'informix': InformixAdapter, > > >>>> 'firebird': FireBirdAdapter, > > >>>> 'firebird_embedded': FireBirdAdapter, > > >>>> 'ingres': IngresAdapter, > > >>>> 'ingresu': IngresUnicodeAdapter, > > >>>> 'sapdb': SAPDBAdapter, > > >>>> 'jdbc:sqlite': JDBCSQLiteAdapter, > > >>>> 'jdbc:sqlite:memory': JDBCSQLiteAdapter, > > >>>> 'jdbc:postgres': JDBCPostgreSQLAdapter, > > >>>> 'gae': GoogleDatastoreAdapter, # discouraged, for backward > > >>>> compatibility > > >>>> 'google:datastore': GoogleDatastoreAdapter, > > >>>> 'google:sql': GoogleSQLAdapter, > > >>>> 'couchdb': CouchDBAdapter, > > >>>> 'mongodb': CouchDBAdapter, > > >>>> } > > >>>> The last line: > > >>>> 'mongodb': CouchDBAdapter, > > >>>> Maybe should be --- 'mongodb': MongoDBAdapter, > -- Joe Simpson Sent From My DROID!!