Drizzle-zod combined with regular zod? 🙃
What are the possible ways to prevent race conditions in this postgres insert operation?
instructions
and sections
database tables:
```ts
type Instruction = {
body: string;
id: string;...Mapping Query Builder Results to Nested Objects in Drizzle
There is not enough information to infer relation
Is there a way to force a text field to be certain values?
Enum Error When Push
No config path provided, using default 'drizzle.config.ts' Reading config file 'D:\projects\wildcard\icc2\drizzle.config.ts'...
Get type of raw sql record
{firstName: text("first_name").notNull()}
the type would be {first_name: string}
....How to store/query multi-line text in database?
"Hello\nWorld!"
to the database and then query it, it comes back with all \n
s escaped.
...question/problem about new drizzle-seed
How to types and parsing with raw sql
Import problem with drizzle-kit generate
Why Isn't RLS Working with Drizzle and Supabase?

Unable to create a check constraint for NaN values
${table.amount} <> NaN
),...How to fix collision / race condition
Passing transaction to functions
Switched to Neon Websockets but now some queries are timing out

TSC build error
tsc
, I get 71 errors, all of which look like this: ../../../node_modules/drizzle-orm/sqlite-core/utils.d.cts:25:56 - error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("../index.ts")' call instead.
25 query: TExisting extends true ? undefined : import("../index.ts").SQL<unknown>;
../../../node_modules/drizzle-orm/sqlite-core/utils.d.cts:25:56 - error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("../index.ts")' call instead.
25 query: TExisting extends true ? undefined : import("../index.ts").SQL<unknown>;
There's no drizzle-orm/connect anymore?

Greater than comparisons with timestamp mode string
gte
comparison operator on a timestamp column that has a mode
of string
. The mode should only affect the output data type of queries, not the type in the DB right?