You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At a collection level, you can ensure uniqueness with a unique index in mongo, but minimongo doesn't have indexes, so I can see where it would be useful to have a check for uniqueness on the client as part of collection2. It's a bit different from the other types of validation because it can't be done without knowledge of what's in the collection, which means it can't be done by the simple-schema package. I think it should be possible to add to collection2, though, so I'll see about doing that.
this would be really nice to have and pretty simple implement i am guessing.
please make unique: true a reality
The text was updated successfully, but these errors were encountered: