NestJS · Junior · Question 45 of 75

How is TypeORM typically connected to a Nest app?

Explanation

In a service you then inject @InjectRepository(User) private users: Repository<User>.

Further reading

Problem with a question

NestJS · Junior · question 45

Test yourself

Take the NestJS · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz