DT
Drizzle Teammcgrealife
MySQL column type: "Generated"?
Does drizzle support defining generated columns? https://planetscale.com/courses/mysql-for-developers/schema/generated-columns
Something like a columnType
sql
If not, is it dangerous to send MySQL a custom DDL statement to Add a generated column?
The schema wouldn't not be aware of it, but maybe I could still reference the generated column in sql
commands.
Thank youB
bloberenober•350d ago
not yet
https://github.com/drizzle-team/drizzle-orm/issues/261
you can currently add it to the migration manually
T
tonyx•86d ago
Is there workaround in the meantime to let Drizzle know a column does not need to be specified for writes because it is going to be generated in the db?
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
7.4KMembers
View on DiscordWant results from more Discord servers?
More PostsAnyone else having a weird issue with drizzle-kit push:mysql?I spun up a new project using Planetscale and I got a bizarre __vtschema error (see: https://github.Performance questionsI'm using Drizzle ORM with Planetscale DatabaseJS driver and my application has spots where I want tCan drizzle generate an initial schema from an existing db?I have a db that wasn't built using drizzle, but I'm interesting in moving over to it. Do I need toPrepared StementsI was looking into using AWS RDS Proxy with Prisma and ran into this
https://www.prisma.io/docs/guiReact Native SupportHi all
New to drizzle ORM, does it support React Native?
Thanksupdate multiple rowsHow can I update values in multiple rows at once?