mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: Update eager-and-lazy-relations.md (#10791)
This commit is contained in:
parent
9b76ae8fbf
commit
4d319020ff
@ -142,6 +142,6 @@ const categories = await question.categories
|
||||
```
|
||||
|
||||
Note: if you came from other languages (Java, PHP, etc.) and are used to use lazy relations everywhere - be careful.
|
||||
Those languages aren't asynchronous and lazy loading is achieved different way, that's why you don't work with promises there.
|
||||
Those languages aren't asynchronous and lazy loading is achieved in a different way, that's why you don't work with promises there.
|
||||
In JavaScript and Node.JS you have to use promises if you want to have lazy-loaded relations.
|
||||
This is non-standard technique and considered experimental in TypeORM.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user