I have just committed a change here.
I removed MongoCollectionIndexCreate() as that has been deprecated from
the underlying Mongo driver.
I also made a change to MongoCollectionIndexEnsure() to better error report.
MongoCollectionIndexEnsure("mongo", "mycoll", { "id": 1 }, "myindex",
false );
this is in the nightly (christmas) build
On 25/12/2012 12:32, Louis Brauer wrote:
Hi There
I'm using Open BlueDragon 2.0.2 and trying to to some stuff with MongoDB.
When I try to create MongoDB Indexes, I run into troubles, e.g.:
MongoCollectionIndexEnsure(mongo, collection, { "id": 1 }, {unique:
True});
Results in CFML error "*no index name specified*".
When I try to use instead:
MongoCollectionIndexCreate(mongo, collection, { "id": 1 }, "idx_id",
True);
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en