Cant drizzle-kit pull with next.js from supabase postgres
Trying to use deno...
Cannot use pgEnum with aws aurora
pgEnum
with the AWS aurora adapter, as i keep getting the same error over and over. It seems weird, as intellisense doesn't say that the types are wrong at all when i am doing the update query, but pg returns an error
ERROR: column "status" is of type "EmailStatus" but expression is of type text; Hint: You will need to rewrite or cast the expression.; Position: 31; SQLState: 42804
```ts
await db...Setting Procedures and Triggers and custom SQLs
mapping data inside select function
db client typing
I can't connect to the DB const db = await drizzle("node-postgres", process.env.DATABASE_URL!);

Does drizzle-graphql let you filter, sort, and page?
PgColumnBuilderBase and notNull()
0.32.0 introduces unmentioned breaking change

Transaction Type
await db.transaction(async (tx) => insertUser(tx, form.data))
await db.transaction(async (tx) => insertUser(tx, form.data))
tx
is super long and not convenient at all....How to implement a generic/reusable function for multiple tables
How to connect to local sqlite database
Unclear docs on bigserial mode
[SQLite] How to db:push with in-memory db?
drizzle-kit push
.
I want to use in-memory database for unit testing with vitest....Wrong docs on casing
const db = drizzle(client, { casing: 'snake_case' })
const db = drizzle(client, { casing: 'snake_case' })
Updating many-to-many best practice
User
model, that can belong to different Groups
. In my admin dashboard, I have a edit user form that posts the new groups that should be related to the user. How do I update this m2m relation in the most efficient way? Do I find the diffs between the old and new groups and then do a delete/insert based on the diff? Do drizzle do any of this "out of the box" with a method I dont know about?`...Changing the Postgres serial/autoincrement behavior
Warning: You need to pass an instance of Client:
$with is not taking an Insert with a return