I use JavaScript/TypeScript with React and React Native. I prefer MongoDB over any other database. I have recently switched to Go as my language of choice as I am now a DevOps Engineer.
I have used Mongoose and TypeGoose for MongoDB. However TypeORM is my go to since I mainly work with SQL databases. I swear by TypeORM. It can do basic connections with MongoDB but I have found TypeGoose to be a better ORM for Mongo.
We used Typeorm with Mongo and please do not make the same mistake. Many things are not documented, and you can end up with writing a magic migration just to make some entity key unique, ex. Email :)
I would consider checking also other libraries before making a final choice.
I use JavaScript/TypeScript with React and React Native. I prefer MongoDB over any other database. I have recently switched to Go as my language of choice as I am now a DevOps Engineer.
The only issues I've ever had with TypeORM was trying to use it with MongoDB. There were some issues with the data not syncing correctly. So we had to use TypeGoose since we use TypeScript TypeGoose ended up working really well.
I use JavaScript/TypeScript with React and React Native. I prefer MongoDB over any other database. I have recently switched to Go as my language of choice as I am now a DevOps Engineer.
That's awesome. I've used PostgrSQL and SQL Server with it so I know that it works really well with SQL databases. I don't use MySQL but good to know that if I did it works with it as well.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Regarding NestJS, have you used any ORM's with it? If so, what are your thoughts?
I have used Mongoose and TypeGoose for MongoDB. However TypeORM is my go to since I mainly work with SQL databases. I swear by TypeORM. It can do basic connections with MongoDB but I have found TypeGoose to be a better ORM for Mongo.
We used Typeorm with Mongo and please do not make the same mistake. Many things are not documented, and you can end up with writing a magic migration just to make some entity key unique, ex. Email :)
I would consider checking also other libraries before making a final choice.
The only issues I've ever had with TypeORM was trying to use it with MongoDB. There were some issues with the data not syncing correctly. So we had to use TypeGoose since we use TypeScript TypeGoose ended up working really well.
I already had used NestJS with TypeORM and works splendidly, I've worked with MySQL and PostgreSQL.
That's awesome. I've used PostgrSQL and SQL Server with it so I know that it works really well with SQL databases. I don't use MySQL but good to know that if I did it works with it as well.