New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comparison tables #338
Comparison tables #338
Conversation
…comparison-tables
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a great start @mhwelander 🚀
I've found a few issues already:
- lots of code blocks seems to have extra indentation
- I believe the MDX code block component is called
CodeBlock
, doesCode
also work?
For some reason, I can't expand the API comparisons
item in the preview, so I don't see what the rendered version of this page looks like right now...
content/02-understand-prisma/06-api-comparisons/01-prisma-and-mongoose.mdx
Outdated
Show resolved
Hide resolved
content/02-understand-prisma/06-api-comparisons/01-prisma-and-mongoose.mdx
Outdated
Show resolved
Hide resolved
content/02-understand-prisma/06-api-comparisons/01-prisma-and-mongoose.mdx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really useful and will help developers coming from either one of Sequelize, TypeORM, or Mongoose 🎉
- On https://deploy-preview-338--prisma2.netlify.app/understand-prisma/api-comparisons/prisma-and-mongoose/#fetching-relations Switching to Fluent API doesn't work.
- "Mongoose doesn't offer a dedicated API for relation filters. You can get similar functionality by sending a raw SQL query to the database.". There's no raw SQL with Mongoose
- The Batch update section of Sequelize shows batch updating based on a relation. This is a nice feature of Prisma but doesn't compare directly to the Sequelize example. What do you think about simplifying that to a normal batch update or adding both?
Other ideas:
- What do you think about adding a line about Prisma not being an API and link to why Prisma is not an ORM?
I haven't gone through the TypeORM comparison but it's not a blocker
|
No description provided.