Files
bun-sqlite/dist/utils/sql-insert-generator.d.ts
T

12 lines
470 B
TypeScript

import type { SQLInsertGenParams, SQLInsertGenReturn, SQLInsertGenValueType } from "../types";
/**
* # SQL Insert Generator
*/
export default function sqlInsertGenerator({ tableName, data, dbFullName, }: SQLInsertGenParams): SQLInsertGenReturn | undefined;
/**
* # Normalize a JS value for binding
* @description Keeps `0`, `""` and `false` (as `0`) instead of turning them
* into `NULL`
*/
export declare function sqlValue(value: unknown): SQLInsertGenValueType;