Hi ,

I am planning to use ApacheMetamodel for Querying MongoDB.

I am able to perform the CRUD operation via createMongoDbDataContext.

Native SQL Query can be executed via  dataContext.parseQuery.

I am struck in setting unique index on a table {collection}

Would like to know if we can run this query through an api call

db.people.ensureIndex( { "id": 1 } )

Regards,
Sunitha

Reply via email to