mirror of
https://github.com/strapi/strapi.git
synced 2025-10-18 03:23:49 +00:00

When ‘oneWay’ relation is created the target model file is also updated with a reference to the relation. This is not required for a oneWay relation since it never will or can be populated from the other way around.
strapi-bookshelf
This built-in hook allows you to use the Bookshelf ORM using the strapi-knex
hook.
Bookshelf ORM is a JavaScript ORM for Node.js, built on the Knex node module SQL query builder. Featuring both promise based and traditional callback interfaces, providing transaction support, eager/nested-eager relation loading, polymorphic associations, and support for one-to-one, one-to-many, and many-to-many relations.
It is designed to work well with SQLite3, PostgreSQL, MySQL, MariaDB, Microsoft SQL Server and Oracle.