[Solved] cannot find package 'mysql2'
Cannot find package 'mysql2' imported from C:\Users\username\Desktop\testProj\node_modules\.pnpm\[email protected]_@[email protected]\node_modules\drizzle-orm\mysql2\index.mjs
Cannot find package 'mysql2' imported from C:\Users\username\Desktop\testProj\node_modules\.pnpm\[email protected]_@[email protected]\node_modules\drizzle-orm\mysql2\index.mjs
Error: this.client.prepare is not a function
pg: introspect fails
client connection refused
Running migrations in server-less (edge) land??
Is there any way to call drizzle-kit with the new node --env-file=.env argument?
enumerating tables
how to group Related Items
Nested where filter, how to not include empty
is placeholder in prepare statements deprecated!??
SQLite json_each
Foreign key truncated for being too long?
drizzle-zod with custom types
z.string().uuid().brand<"SomeId">();
I have that defined in the drizzle schema as someId: uuid("id").$type<SomeId>().notNull()
When I use drizzle-zod to create the schema and infer the type, it's coming back as a z.ZodString
rather than z.ZodBranded
. ...Using transactions in automated testing like Jest

TypeScript complaining about using a spread operator in partial select query
userData
and users
. The query works as intended on the client side but TypeScript is complaining about me using a spread operator ...userData,
(line 3) with TS2345: Argument of type [...] is not assignable to parameter of type  SelectedFields
```...Unable to read error message when inserting withdb.insert().values()
`drizzle-kit --custom` is not giving me a blank migration file
drizzle-kit generate:pg --custom
drizzle-kit generate:pg --custom
No id returned (mysql2)
async function create(data: NewBusiness) {
return client.insert(business).values(data)
}
async function create(data: NewBusiness) {
return client.insert(business).values(data)
}
Studio when using Turso `Error: Cannot find module 'better-sqlite3'`
Error: Cannot find module 'better-sqlite3'
...