Back to Loopback Next

Validation in ORM Layer

docs/site/Validation-ORM-layer.md

4.0.0-alpha.1310 B
Original Source

The validation in the ORM layer is to make sure the data being added or updated to the database is valid.

Schema constraints are enforced by specific databases, such as unique index. For pre-processing against CRUD operations, see details: https://loopback.io/doc/en/lb4/migration-models-operation-hooks.html.