R
R
Roman Khegay2021-06-18 07:48:05
MongoDB
Roman Khegay, 2021-06-18 07:48:05

Does it make sense to use TypeORM along with MongoDB?

The whole point is in the question, but I will add information:

There is a NestJS framework , it uses MongoDB .

The NestJS documentation describes use cases for TypeORM, but does it make sense? Relationships in MongoDB work differently than in SQL databases. And One-To-One, Many-To-Many relationships don't make sense.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2021-06-21
@dimonchik2013

ORM is just sugar, like OOP itself in the global sense,
therefore - of course it makes sense to read the code, otherwise it's a classic, RAW queries everywhere
+ some kind of security if the ORM is competent

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question