Ticket #330 (accepted enhancement)
Unable to create unique indices
Reported by: | anurag@… | Owned by: | jaymccarthy |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | jaymccarthy/mongodb.plt | Keywords: | |
Cc: | Version: | (1 8) | |
Racket Version: |
Description
mongo ensureIndex requires two documents when creating unique indices. The current interface seems to only provide for one.
i.e, db.things.ensureIndex({x : 1}, {unique : true}) does not seem to have a mongo equivalent
Change History
Note: See
TracTickets for help on using
tickets.