Ahmed Nasser
unread,May 16, 2012, 8:33:11 AM5/16/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mandango Users, ahmad....@jidari.com
Hello,
We need to be able to use another field of the document (ex:Email) as
the ID of the collection. Mongo supports using the natural identifier
as the ID instead of the generated Mongo ID.
In Mandango, we were able to change the DBName of the "Email" field to
be _id. However, this does not function correctly as the setId method
of the Document expects a MongoID object.
Is there anyway to specify a field of the collection to be the _id in
Mandango?
Thanks,
Ahmed.