Page Contents
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.