阅读背景:

在Mongoose Schema中使用多个值的唯一文档

来源:互联网 

I have a special case where our collection needs to make sure each document is unique based on a combination of the email address, and the sweepstakes_id. I've looked all over, but I can't find how to accomplish this type of validation.I have a special case where our collection need




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: