DrizzleORM v0.28.3 release
Aug 22, 2023
Fixes
- Fixed sqlite-proxy and SQL.js response from
.get()
when the result is empty
New Features
π Added SQLite simplified query API
π Added .$defaultFn()
/ .$default()
methods to column builders
For more information check docs for PostgreSQL, MySQL and SQLite.
You can specify any logic and any implementation for a function like cuid()
for runtime defaults. Drizzle wonβt limit you in the number of implementations you can add.
Note: This value does not affect the
drizzle-kit
behavior, it is only used at runtime indrizzle-orm
π Added table.$inferSelect
/ table._.inferSelect
and table.$inferInsert
/ table._.inferInsert
for more convenient table model type inference
- π Deprecated
InferModel
type in favor of more explicitInferSelectModel
andInferInsertModel
- π Disabled
.d.ts
files bundling