strapi/packages/strapi-connector-mongoose
Jozef Cipa 808b2a464f
Handle duplicate entry error (#8367)
* Handle duplicate entry error message in bookshelf connector

Signed-off-by: jozefcipa <jozef.cipa@strv.com>

* Handle duplicate error message in mongoose connector

Signed-off-by: jozefcipa <jozef.cipa@strv.com>

* Apply changes from review

* Fix wrapping transactions in bookshelf adapter

* Add missing await to wrapErrors

* Call findOne without this
2021-01-25 14:03:48 +01:00
..
2021-01-25 14:03:48 +01:00
2019-10-23 17:02:23 +02:00
2019-10-23 17:02:23 +02:00
2019-10-23 17:02:23 +02:00
2019-10-23 17:02:23 +02:00
2020-07-08 09:45:28 +02:00
2021-01-20 17:31:59 +01:00
2020-07-20 18:40:52 +02:00

strapi-connector-mongoose

npm version npm downloads npm dependencies Build status Slack status

This built-in connector allows you to use the Mongoose ORM.

Mongoose ORM provides a straight-forward, schema-based solution to model your application data. It includes built-in type casting, validation, query building, business logic connectors and more, out of the box.

Resources