find*
methods. If you use QueryBuilder
eager relations are disabled and have to use leftJoinAndSelect
to load the relation. Eager relations can only be used on one side of the relationship, using eager: true
on both sides of relationship is disallowed.Promise
as type - you store your value in a promise, and when you load them a promise is returned as well. Example:categories
is a Promise. It means it is lazy and it can store only a promise with a value inside. Example how to save such relation: