This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable adding Model associations directly on Model definition.
Example: var Product = db.define("product", { ... }); var Sale = db.define("sale", { product: Product, ... }); That property is the same as doing this association: Sale.hasOne("product", Product);
- Loading branch information