At Prisma, we simplify working and interacting with databases so developers and their teams can focus on shipping features. Explore our intuitive tools to build data-driven applications - with a great DX: ◮ Prisma ORM: Open-source Node.js and TypeScript ORM for PostgreSQL, MySQL, SQL Server, SQLite, MongoDB, and CockroachDB. ◮ Prisma Accelerate: Global database cache with scalable connection pooling. ◮ Prisma Pulse: Real-time database events with type-safe subscriptions.
This RU-vid channel features tutorials, online meetups and events, and updates about the latest Prisma releases.
Does anyone know? If there is an updated tutorial? I find the documentation to refer to version 1 only some hints on changes with the upgrade guide but I am struggling here I am really new to blitzjs.
Brother, In 1-m realtionship model the userId in Post model is @unique as 1 user can have multiple post so userId can repeat right?, so it shoudn't be unique
What about just using SQL? Simplest and most performent... So the logic with this new Prisma Optimize is because you are using Prisma you might get bottlenecks, so you can install more Prisma to hopefully improve these bottlenecks? But these bottlenecks are a product of installing Prisma in the first place? This is insanity at its finest. Just do SQL. You have to learn it no matter what, so why would you spend time learning one additional syntax when you can just do SQL?
Another pay for service while the client is riddled with bugs. I really wish more focus was put on actually fixing the client. I get you need to make money, but if the client is full of bugs, who cares what pay services there are.
@@rilock2435 I'm not sure they thought about this hard enough. Surely a tool like this will allow people to see how slow prisma is compared to drizzle.
Hey @rilock2435, while we do require a login, this is not a paid product. This is currently free for all of our users. There may be paid features in the future, but at this moment, it is free. Let us know what you think!
I was looking for a way to automatically generate the schema from prisma to Graphql, and I leave this video sad to see that after I did so many steps installed so many things, I'd have to still write down every table, every field of my big database... The video is great, don't get me wrong, I am just pissed off that there isnt a simple way to convert one thing to another.
Yes, I use Next js with Prisma and mysql database and it is good combination for full stack developer but I have an issue to deploy on hostinger as it pre installed the phpmyadmin or database but didn't know about how we deploy my next js project on this and how can I create the tables in database dynamicallly. (if you have any reference for me you can send me)
The createClient object now requires an exchanges key so this worked for me: import { createClient, Provider, fetchExchange, cacheExchange } from "urql"; const client = createClient({ url: import.meta.env.API_URL || "localhost:4000/graphql", exchanges: [fetchExchange, cacheExchange], });
you do a lot of 'oh yeah we need this cuz it wont work without it'. Not alot of explaining the specific reason. You're providing code to copy, why not explain it more in depth, there is no context here
Not sure storing your access policies in code is the best approach. If you use a lib like CASL then you can store the policies in the db as json (permissions) and persist them as state within the user context / token or even sessions. This will allow you to totally re-configure your access policies without rebuilding the app. Your code only needs to know the action and the subject, the policy can be provided at runtime. I won't use references to roles anywhere in my code.
You can still store the permissions in the DB as usual, then use The ZenStack to replace the one that belongs to the system logic, which is traditionally implemented by code like below: `@@allow('read', auth().role.permissions?[action =='READ'] )`