/opt/canhelp/node_modules/drizzle-orm/d1
Edit: /opt/canhelp/node_modules/drizzle-orm/d1/driver.d.ts (1021B)
import type { D1Database as MiniflareD1Database } from '@miniflare/d1';
import type { BatchItem, BatchResponse } from "../batch.js";
import { entityKind } from "../entity.js";
import { BaseSQLiteDatabase } from "../sqlite-core/db.js";
import type { DrizzleConfig, IfNotImported } from "../utils.js";
export type AnyD1Database = IfNotImported
>;
export declare class DrizzleD1Database = Record> extends BaseSQLiteDatabase<'async', D1Result, TSchema> {
static readonly [entityKind]: string;
batch, T extends Readonly<[U, ...U[]]>>(batch: T): Promise>;
}
export declare function drizzle = Record, TClient extends AnyD1Database = AnyD1Database>(client: TClient, config?: DrizzleConfig): DrizzleD1Database & {
$client: TClient;
};