batch.d.ts 320 B

123456
  1. import type { Dialect } from "./column-builder.js";
  2. import type { RunnableQuery } from "./runnable-query.js";
  3. export type BatchItem<TDialect extends Dialect = Dialect> = RunnableQuery<any, TDialect>;
  4. export type BatchResponse<T extends BatchItem[] | readonly BatchItem[]> = {
  5. [K in keyof T]: T[K]['_']['result'];
  6. };