#vercel postgresql without @vercel/postgres?
23 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
I'm not sure about vercel postgress, but with their provider (https://neon.tech) you can do that... (There is like no benifits of bercels offering because it is just marked up neon db) aside from that, I think you would get env vars for the db connection in you project?
Yes I got env vars, why tho?
because you can then use any postgres library with those env vars
And yeah I just checked neon, Iet me try implementing it with some ORM
yep I understand but vercel's pgsql starter guide suggests to use @vercel/postgres
it is a suggestion, but it doesn't mean that you have to... and if you want an orm, then you can use that...
Ohh it working with prisma
vercel postgres
now could you please tell me which one is better??
neon or vercel, as of till now I was using railway as db provider
its up to you... there are many people online divided up with the benefits and negatives (some say query builder is all you need, others say ORM, and some others say raw SQL)
I'm interested in db service providers for now
personaly I would do neon if you would use vercel only because https://service-markup.vercel.app/
I tried almost all of these methods and found raw SQL to be faster in perf. but the benchmark is nearly equal with ORMs specially drizzle and sequelizer
perf over dev experience is something that is quoted...
Ohhhhhhh this much of diff.....🥲
anyone would like to go with neon after seeing this
yeah, it is kinda funny to look at
there are benifits of using vercel like everything is in one place to manage (so better dev exp), but i don't think it is worth that loss...
anyway, @indigo violet is your original question answered?
Yes yes, My bad I forgot to mark it...