+ 2

Another question about the fullstack course

Las time I asked about what SoloLearn meant by the command line but this time I am asking about what they mean by “main file” in the TypeORM lesson. What is the main file? Is it main.ts? Could it be the service? I am wondering the same thing about where the connection could be in.

9th Dec 2020, 1:16 AM
Aidan “HTMLPuppy” Dalzell
Aidan “HTMLPuppy” Dalzell  - avatar
2 Respuestas
+ 2
First and foremost TypeORM is a type of Object Relational Mapper, it is used to connect your application to the database using your backend language instead of SQL, the index or entry file is what is meant by ORM not that it is a service. The file responsibility for the connection and/or configuration often time is called the Index file. I hope this helps.
17th Dec 2020, 10:06 AM
africana
africana - avatar
+ 1
africana thank you! I didn’t think about it that way
17th Dec 2020, 2:44 PM
Aidan “HTMLPuppy” Dalzell
Aidan “HTMLPuppy” Dalzell  - avatar