DT
Drizzle Team
help
executing an `update` statement does not use `.onUpdateNow()` defined in schema
Looking for more? Join the community!
DT
Drizzle Team
help
DT
Drizzle Team
help
Want results from more Discord servers?
Recommended PostsHelp with raw queryThe following query is all raw. Is there a way to make SQL raw only the part of the `where` clause? Create GIN index in PostgresI need to create this index in postgres:
```sql
CREATE INDEX users_name_gin_trgm_idx ON users USINGHow to plus 1 to the current value of a column when updateHow to plus 1 to the current value of a column when updating a recordOrdering by a string column but coercing it to a number for orderingI have a column that mostly contains numbers with only a very few exceptions and want to apply ordertype union on entire rowi can think of workarounds for this but figured i'd ask
if i have a table that's like
[id, type, daProper query results inferencePosting my GitHub discussion here for more visibility: https://github.com/drizzle-team/drizzle-orm/dDrizzle with Next 13.4.2 & Vercel Postgres TimeoutHi all.
I'm trying out NextJS server actions and Drizzle for the first time.
I have it hooked up tI think I don't really understand migrations local sqlite.It's a local sqlite db (`DB_URL=file:dev.db`) in a nextjs & trpc setup. I'm trying drizzle for the fConnecting to Vercel PostgresI'm trying to connect to Vercel Postgres like this:
```ts
import { drizzle } from "drizzle-orm/verceinsertID not returned correctly when using custom UUID```export const users = mysqlTable("users", {
id: varchar("id", { length: 36 })
.primaryKey()
weird ilike postgres behaviorhi, I have a very weird issue when trying to filter using ilike in postgres, both my local instance Cannot make a .all() query on an empty table (Bun SQLITE)I am new to SQLITE but i'm unable to make a .all() query on an empty table in a Bun with Drizzle proSelf referencing nullable ID field not assigneable in a `eq` statementI am not sure if I encountered another edge case but basically I have a self-referencing table whereCustom `Select` object returns type `any`Databases like Planetscale do not support FK constraints. As I understand I can manipulate the retur