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
DTDrizzle Team
•Created by meow on 8/23/2024 in #help
drizzle-kit push connection cleanup
How do I run a cleanup script after
drizzle-kit push
, such as to kill database connections? Otherwise I noticed that drizzle-kit leaves connections open.1 replies
DTDrizzle Team
•Created by meow on 8/23/2024 in #help
Maximum call stack for transactions
I've been trying to do a transaction over 100k rows (works at 10k) but I've been getting an error for stack size. How do I handle bigger transactions?
3 replies
DTDrizzle Team
•Created by meow on 8/18/2024 in #help
Postgres Schema (namespace)
Does anyone have a minimal example of a Drizzle postgres schema that uses the Postgres "Schema" (namespace) feature?
On drizzle kit push I keep getting
error: schema "meow" does not exist
.
8 replies
DTDrizzle Team
•Created by meow on 6/21/2024 in #help
Raw SQL query (`.execute()` doesn't exist)
I'm trying to run a raw SQL query for sqlite3 with the Bun driver and I'm finding that
.execute()
doesn't exist. Anyone got any leads?
1 replies
DTDrizzle Team
•Created by meow on 3/14/2024 in #help
Postgres Schema (namespace) + Drizzle
How do I specify a Postgres schema (as in the psql namespace feature) for
drizzle.config.ts
? A connection string with database?schema=blah
hasn't worked for me.6 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
CDCloudflare Developers
•Created by meow on 7/15/2023 in #workers-help
Types for Email Workers
Does anyone know where to go to get the types for email workers?
2 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