0

Possible Duplicate:
How can I add a two column unique id to the mongodb in a meteor app?

Is mongo indexing implemented in any way in Meteor yet? I'm trying to index on unique names of documents in a collection.

Something like:

Collection.ensureIndex({name:1});
Community
  • 1
  • 1
greggreg
  • 11,945
  • 6
  • 37
  • 52
  • indexing isn't implemented in Minimongo, see http://stackoverflow.com/questions/10167604/how-can-i-add-a-two-column-unique-id-to-the-mongodb-in-a-meteor-app/ Obviously you can always index mongo on your server directly. – danny Apr 20 '12 at 18:10
  • Ahh thanks, voted to close my question. – greggreg Apr 21 '12 at 00:33

0 Answers0