TypeORM Relations

Описание к видео TypeORM Relations

🔥More exclusive content: https://productioncoder.com/you-decid...
Twitter:   / _jgoebel  
Website: https://jangoebel.com
Blog: https://productioncoder.com
Code: https://github.com/productioncoder/ty...

00:00 introduction to TypeORM relations
02:38 TypeORM One-to-One relationships
03:51 TypeORM Join Column
05:45 creating a new entity for One-To-Many relationship
07:02 One-To-Many TypeORM relationship
07:50 TypeORM Many-to-One relationship
08:21 TypeORM Many-to-Many relationships
09:51 conclusion

In this video we will cover TypeORM relations in detail. We talk about one-to-one, many-to-one, one-to-many and many-to one relationships.

We start by creating new TypeORM entities for which we want to set up the different types of relationships. We then go through all relevant Typescript annotations we need to use to tell TypeORM what type of relationship we want to have.

We also talk about the meaning of the JoinTable and the JoinColumn annotation and what effect it has on the entities.

Комментарии

Информация по комментариям в разработке