meow
Explore posts from serversTTCTheo's Typesafe Cult
•Created by meow on 8/25/2024 in #questions
`drizzle-kit push` connection cleanup
When I run
drizzle-kit push
with postgres.js
I get a connection that doesn't get cleaned up. How do I run a post-push cleanup script?2 replies
TTCTheo's Typesafe Cult
•Created by meow on 3/14/2024 in #questions
Drizzle + Postgres Schema
Has anyone figured out how to get Drizzle working with a Postgres schema (the Postgres namespacing feature)? I've tried
databaseName?schema=schemaName
in my database connection string to no avail.2 replies
TTCTheo's Typesafe Cult
•Created by meow on 7/16/2023 in #questions
TRPC vanilla queries (T3 stack)
Does anyone know how to access trpc vanilla queries (not hooks)?
4 replies
TTCTheo's Typesafe Cult
•Created by meow on 4/28/2023 in #questions
Prisma `delete` a row with composite keys
I’m trying to
delete
a single row in Prisma using composite keys x
, y
. Is it possible to write a query like prisma.table.delete({ where: { x, y })
or do you have to use deleteMany
, which presumably doesn’t have a limit 1
?3 replies