npmjs.org : @ladjs/mongoose-unique-validator
Mongoose plugin which adds pre-save validation for unique fields within a Mongoose schema. This makes error handling much easier, since you will get a Mongoose validation error when you attempt to violate a unique constraint, rather than an E11000 error f
Registry
-
Source
- JSON
purl: pkg:npm/%40ladjs/mongoose-unique-validator
Keywords:
mongoose
, unique
, validator
License: MIT
Latest release: over 2 years ago
First release: over 2 years ago
Namespace: ladjs
Dependent packages: 2
Dependent repositories: 1
Downloads: 314 last month
Stars: 0 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 4 days ago