Issue with drizzle-zod?
Optional One-to-One Relation
Having Issues Pushing Database Schema
migration failed
TypeError: Cannot read properties of undefined (reading 'compositePrimaryKeys')
Nesting sqlite drizzle into a deeper location in my ts app, difficulties with src/ vs dist/
syntax highlighting not working

Prepare raw sql query (Postgres)
db.prepare(sql`...`)
would make sense to me.packing migration files with the library
migrate
inside from a library consumer (i.e I have a @mycompany/db-lib
that has doMigration
and from my internal dev-app, I want to do something like:
```ts
import { doMigrate } from '@mycompany/db-lib'
export const onMigrateClick = () => {...Any way to invoke a SQL function?
CREATE OR REPLACE FUNCTION do_something()
how do i invoke this function using Drizzle's interface?...How to include array literals in raw sql?
.orderBy(sql`array_position(${ingredientNames}, ${entity.name})`);
.orderBy(sql`array_position(${ingredientNames}, ${entity.name})`);
any way to automatically cast numeric types on retrieval?
Query in drizzle doesn't work
DrizzleError: No fields selected for table "usersToGroups" ("users_groups")
DrizzleError: No fields selected for table "usersToGroups" ("users_groups")

Cannot read properties of undefined (reading 'referencedTable')
Relational query builder in mysql?
TransactionRollbackError
tx.rollback()
function itself threw an error and that the rollback was unsuccessful, or just that the tx.rollback()
function was called?...PostgresError: null value in column "id" of relation "pairs" violates not-null constraint
OnConflictDoNothing with mysql
drizzle-kit introspect reorder tables