How to define `PostgresJsTransaction` generic parameter based on schema?
How can I verify a hash?
How can I close connections after a query is done
SELECT * FROM pg_stat_activity;
in Supabase
...Is there a way to explicitly type certain drizzle results as `Array<T | undefined>`?
noUncheckedIndexedAccess
but that will change the behavior of all arrays everywhere in my codebase, which I do not want. I just want the ability to indicate that a certain Drizzle select result will sometimes have no items returned.
e.g. const [maybeExistingEntity] = await drizzle.select(.....).limit(1)
now strongly types maybeExistingEntity
where I would like the type to be T | undefined
....Is there a way to configure pg introspect to generate date rather than string inference columns?
mode: 'string'
by default.I've done db:generate and db:push, but nothing happens.
Add the appropriate Drizzle types to a helper function?
buildAndConditions
helper function.
Here's a TS playground: http://tinyurl.com/bdf9r4mn...Weird webpack error with nextjs, libsql and pnpm workspaces

How do you structure your schemas?

Running concurrent queries
How to handle partitions?
planetscale - removing uniqueIndex
Migration timing out in Next.js Route
Shortcut for .returning()
.returning()
where there's only one table I'm selecting from?
I write:
```
.returning({
id: userSchema.id,...ExecutedQuery data question
db.batch is missing

push command didn't update schema to my database (truso)

[pg] How do I make subquery in select()?
Entity classes