Unexpected identifier 'TABLE'
drizzle-kit generate:pg
to generate this schema
```sql
CREATE TABLE IF NOT EXISTS users (
user_id INT PRIMARY KEY,
username VARCHAR(255),...How to join tables from different dbs in same db cluster?
Why is my query so much slower when filter by all four latitude/longitude bounds than just three?
Enum type gets lost
bunx drizzle-kit push:sqlite
and pull on the website with bunx drizzle-kit introspect:sqlite
in my schema definition I have the following table
```ts...Hey I looking for the documentation of the `get()` methods
get()
a lot.
I could find the documentation for it?
anyone as any idea what it does or how to use it?...No query result types
this.conn.query.organizations.findMany({})
there is no autocomplete for organizations
columns, it shows only relations (restaurants
)
this.conn is PostgresJsDatabase<typeof schema>
But if i specify
```...Help migrating raw query from prisma to drizzle
``
const results: any = await prisma.$queryRaw
...Dropping mysql unique errors
drizzle-zod object scoped refine
s multiple columns. For example whether password field is equal to confirmPassword filed.
With zod it was a .refine() after a z.object(), but I cant
get it work with createInsertSchema()
Is there any workaround to work with react hook forms?...connection ECONNREFUSED when trying to push to neon db
push:pg
```bash...Setting connectionString from env in sveltekit
turso geospatial and fuzzy search using extensions
sqlite vs postgesql vs mysql which one is faster
Option to have relations returned from findFirst/findMany be marked as optional
Delete limit and offset?
Relational delete with returning
TIMESTAMPTZ is returned as string instead of Date object
pg-types
handling of dates. Usually pg-types
and thus node-postgres
converts TIMESTAMP
, TIMESTAMPTZ
and other related data base types automatically to a JS date object.
I tried Drizzle with the node-postgres driver and it didn't seem to work, dates were simply strings. I figured that Drizzle resets the default type convertes upon initialization (see picture).
I was wondering why that is. And is that simply a me problem or did anyone also find TIMESTAMP
being returned as string
when using node-postgres
?...Trying to get relations from one table to another, as one-to-many but get only one value
strange libsql error when doing push:sqlite
Relations include query