docs: add a section in the book on how to retrieve a relationship (#8594)
This commit is contained in:
@@ -125,7 +125,7 @@ const Order = model.define("order", {
|
||||
|
||||
const Product = model.define("product", {
|
||||
id: model.id().primaryKey(),
|
||||
order: model.manyToMany(() => Order),
|
||||
orders: model.manyToMany(() => Order),
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user