UNPKG

drizzle-orm

Version:

Drizzle ORM package for SQL databases

10 lines (9 loc) 354 B
import type { Knex as KnexType } from 'knex'; import type { InferInsertModel, InferSelectModel, Table } from "../table.js"; declare module 'knex/types/tables.ts' { type Knexify<T extends Table> = KnexType.CompositeTableType<InferSelectModel<T, { dbColumnNames: true; }>, InferInsertModel<T, { dbColumnNames: true; }>> & {}; }