DT
Drizzle Teamsevenwestonroads
Create a type of VARCHAR[]
I want to create a type for my column of
VARCHAR[]
but when I used Drizzle-Kit to generate it, I got the drizzle-kit
that generated "varchar[]"
type instead of VARCHAR[]
Here's how I defined the column;
anonymousIds: varchar("anonymous_ids").array()
It represents an array of ids.
Thanks a lot !B
bloberenober•348d ago
@Andrew Sherman
AS
Andrii Sherman•348d ago
known issue
AS
Andrii Sherman•348d ago
will work on it together with https://github.com/drizzle-team/drizzle-orm/issues/634
GitHub
[BUG]: drizzle-kit generate:pg generates faulty default arrays · Is...
What version of drizzle-orm are you using? 0.26.1 What version of drizzle-kit are you using? 0.18.1 Describe the Bug import { pgEnum, pgTable, serial } from 'drizzle-orm/pg-core'; export co...
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
7.3KMembers
View on DiscordWant results from more Discord servers?
More PostsSelect with relationIs there a way to get relations when using `db.select().from(table)`I can't get the `db.query.table.Any plan to support ClickHouse db?Any plan to support ClickHouse db?
https://clickhouse.com/`where` inside relational queries `with` does not workHi there! I'm new to drizzle and tried out the relational queries.
I want to do a nested `where` rIssue with 'insert on conflict do update where'I am using
db.insert(lastHeaterMetricsTable)
.values(heaterEntityWithMaxTime)
Duplicate relations when using `with`I'm running into a problem where some duplicate values are being returned through a relation with `wUsing BIN_TO_UUID / UUID_TO_BINI’m trying to understand the best way to use `BIN_TO_UUID` and `UUID_TO_BIN` (MySQL).
The below is drizzle-kit drop config file does not existI have a `/foo/drizzle.config.ts` file as suggested in the docs (https://orm.drizzle.team/kit-docs/Related object is not typed correctlyI have the following schema
```
export const menus = pgTable('menus', {
id: uuid('id').primaryKey(