As Peter commented, the right way to enforce uniqueness is to create a unique index on the collection over those fields and then handle the code: 11000
insert error to recover from attempts at creating duplicates.
You can add the index via your schema before you create the model from it:
mySchema.index({field1: 1, field2: 1}, {unique: true});