docs: add a section in the book on how to retrieve a relationship (#8594)
This commit is contained in:
1 parent
3bdfb66238
commit
198d7c9927
2 files changed
+27
-2
No files matched your search
@@ -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