Major version update. Major bugfixes. Security vulnerabilites fixed
This commit is contained in:
Vendored
+7
-1
@@ -1,5 +1,11 @@
|
||||
import type { SQLInsertGenParams, SQLInsertGenReturn } from "../types";
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user