Prisma
@prisma.io
11 months ago ICYMI, you can spin up a Prisma Postgres DB straight from your Vercel dashboard.
Here’s how it works 👇
pris.ly/yt/vercel-p...
💬 0
♻️ 0
❤️ 1
ICYMI, you can spin up a Prisma Postgres DB straight from your Vercel dashboard.
Here’s how it works 👇
pris.ly/yt/vercel-p... awwww what a cutie! <3
Yeah I totally get that. I don't have much space in my life for scrolling dread, so I don't come here much It's a shame because this app is much better in so many ways
omg this is the best website ever! thank you! <3
otherwise i think i'm just not going to visit here so much
I need to tune my bluesky feed :( I know there's a lot of shit in the world rn, but it's like every post is just about how awful everything is Just want to see 1. people making cool stuff 2. people doing cool things 3. cute animals
Simply add our docs llms.txt file to your AI-based code editor for a smoother and more efficient experience with Prisma.
To see how it works, check out our Cursor tip 👇
pris.ly/cursor-tip-... 🎊 Our LLM-friendly Prisma docs are now featured on llmstxt.site, a curated directory of LLM-friendly documentation.
🔗 llmstxt.site i use AI "a little bit" (windsurf to write aws junk, chatgpt for silly questions) and it's not terrible, it's fairly good. if i could look at it in isolation i'd probably be more positive about it. but boy, *gestures at everything* how does anyone look at anything in isolation, like how
top quote is from fly.io/blog/youre-a... and it's a good reasonable article from a smart person i respect, and honestly i wish i had a little more of the enthusiasm for ai companies are not legally required to maximize profits (that's misinfo) and people are not legally required to maximize their short-term productivity if it feels terrible!
sometimes when i'm having the inevitable Do You Use AI conversation i say something like "it would make me more efficient but it also makes me very sad so I don't do it" and that is, like, a very straightforward and defensible position imho!
let me be clear, doing things out of spite is a perfectly fine reason to do things
You can also join the conversation on Discord.
Drop your questions in the `dev-ama` channel and talk to us live during the session 👇
pris.ly/discord/ama... 📢 3 days to go until our next Prisma AMA!
Got questions for the team? We’re live on June 5 at 5PM CEST.
Streaming on YouTube, Discord and X 👇
pris.ly/yt/ama-june5 for the last year or so, every time i land on someone's blog i subscribe to it immediately. it's been entirely good, most people post sporadically but post good things. i recommend it.
To sum up the thread:
✅ Batch writes
✅ Collapse nested queries
✅ Prefer array transactions
Fewer operations = cleaner code + smaller bill.
Read our blog on operation-based billing for more details 👇
pris.ly/ops-pricing... 3️⃣ If the queries don’t depend on each other, don’t use an interactive transaction.
Interactive transactions = more control, but more operations.
Use them only when needed (like if you need a value from a previous query). 2️⃣ Need to create or connect records in one operation?
Use Prisma ORM-specific nested-relation helpers such as `connectOrCreate` or `set` to create or link related records in a single operation. 1️⃣ Used batched queries instead of looping DB calls.
💡 Use createMany, updateMany, deleteMany to batch work into a single request.
e.g, For the query below, it'll be 1 operation, not 3 👇 👀 Are you a Prisma Postgres user?
Here are 3 quick tips to write smarter queries and optimize your operation count 🧵 Also try out rolldown-vite in your Vite projects and share your feedback!
✋ vite@7.0.0-beta.0 is out!
- Browser Target Changed to Baseline Widely Available
- Node 18 support dropped. Vite is now distributed as ESM only
Plus fixes and deprecated feats removals, preparing for rolldown. Help us test the beta and report back 🙏
github.com/vitejs/vite/...