Major version update. Major bugfixes. Security vulnerabilites fixed

This commit is contained in:
2026-10-14 03:02:07 +01:00
parent 4e47bd8ce0
commit 7c095f6f16
112 changed files with 2479 additions and 1219 deletions
+18
View File
@@ -0,0 +1,18 @@
import type { APIResponseObject, BunSQLiteConfig, SQLInsertGenValueType } from "../types";
type Param = {
query: string;
values?: SQLInsertGenValueType[];
config?: BunSQLiteConfig;
};
/**
* # Main DB Handler Function
* @description Any statement that produces columns (SELECT, WITH, PRAGMA,
* RETURNING, ...) returns rows. Everything else goes through `run`, which
* also handles multiple statements.
*/
export default function dbHandler<T extends {
[k: string]: any;
} = {
[k: string]: any;
}>({ query, values, config }: Param): APIResponseObject<T>;
export {};