drizzle-orm
Version:
Drizzle ORM package for SQL databases
7 lines (6 loc) • 322 B
text/typescript
import type { Dialect } from "./column-builder.cjs";
import type { RunnableQuery } from "./runnable-query.cjs";
export type BatchItem<TDialect extends Dialect = Dialect> = RunnableQuery<any, TDialect>;
export type BatchResponse<T extends BatchItem[] | readonly BatchItem[]> = {
[K in keyof T]: T[K]['_']['result'];
};