profile
joined you won't have any information about profile in your user object, even profile id:@Column
named exactly as the column created by your relation. Example:relations
option in FindOptions
:QueryBuilder
:QueryBuilder
you can do innerJoinAndSelect
instead of leftJoinAndSelect
(to learn the difference between LEFT JOIN
and INNER JOIN
refer to your SQL documentation), you can join relation data by a condition, make ordering, etc.categories
inside it won't be touched - because it is unset.[]
or any items inside it will be considered like something was removed from it, there is no other way to check if an object was removed from entity or not.createForeignKeyConstraints
option (default: true).