+ 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.
2 Antworten
+ 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.
+ 1
africana thank you! I didn’t think about it that way