DT
Drizzle Team
help
drizzle-orm@0.25.0 broke edge support
Looking for more? Join the community!
DT
Drizzle Team
help
DT
Drizzle Team
help
Want results from more Discord servers?
Recommended PostsDoes Drizzle support type CUID?In Prisma i can use: id String @id @default(cuid())
Do we have similar solutions?Get column name in error messagesIs there a way to get column names exactly where the query is failing, for example when the FOREIGN Using Drizzle as a package in Turborepo doesn't work ?I have a monorepo (Turborepo) with a shared package called @mono/database in which I put my drizzle Argument of type 'Database' is not assignable to parameter of type 'D1Database'.I'm trying to use drizzle with cloudflare d1 but getting this error.
Any help?drizzle-zod update schema?is there any plan for `createUpdateSchema` from `drizzle-zod`?How to reproduce a Prisma `include` statement for arrays of related entities without SQL?Hello,
I'm trying to translate this SQL query to DrizzleORM;
```
SELECT
channels.id,
channelsmany-to-one selection as arrayHi,
Let's say I have a user table, and the user can have multiple profiles. When I select using joiAlias in from() change? (SQLite)Did something change wrt using aliases in `from()`? Until recently I've been using aliases to affectTable definition has 'any' typeI'm defining all of my tables in an `index.ts` file; but on some tables like `visitor_events` I get CTE query of hierarchical dataI'd like to drizzle-ize this query:
```sql
WITH RECURSIVE
Child(n) AS (
VALUES('...id')
createInsertSchema wrong type (drizzle-zod 0.3.1, sqlite))After upgrading to 0.3.1, all of the fields changed to ZodTypeAnyHow do I get the values of an insert inside a transaction?I have this transaction where I create a project and add variables and a history of those variables.Raw sql`` quoting issueHi, I doing a work around until Drizzle supports generated columns. I have a manual script that addsNuxt3 type errorHello, is there somebody who used Drizzle in Nuxt3 project?
I have problem with inheriting types froSyntax error mysql migration using composite primary key```sql
--> statement-breakpoint
CREATE TABLE `member_to_address` (
`member_id` varchar(32) NOT Nwhen using planetscale, using the `.$with()` and `.with()` clauses causes errorIs it not possible to use `$with()` and `with()` with planetscale?
it gives the following error:
`DaZod prototype mismatchEven though the Zod object constructor name created by Drizzle is ZodObject, it is not an instanceofunrecognized_keysGetting the following error when running generate:pg
```
ZodError: [
{
"code": "unrecognized_kRaw SQL / Postgres stored generated column in schemaIs it possibile to add raw sql, or more specifically stored generated columns to the schema? Trying I think i have found another bugtypescript complaining when there's no overriding