Update raw SQL runner

This commit is contained in:
Benjamin Toby 2026-04-05 09:44:09 +01:00
parent f500c52ee5
commit d3bfb3a82b
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
import type { APIResponseObject } from "../../types";
import type { APIResponseObject, SQLInsertGenValueType } from "../../types";
type Params = {
sql: string;
values?: (string | number)[];
values?: SQLInsertGenValueType[];
};
export default function DbSQL<T extends {
[k: string]: any;

View File

@ -1,6 +1,6 @@
{
"name": "@moduletrace/bun-sqlite",
"version": "1.0.25",
"version": "1.0.26",
"description": "SQLite manager for Bun",
"author": "Benjamin Toby",
"main": "dist/index.js",

View File

@ -1,10 +1,10 @@
import DbClient from ".";
import _ from "lodash";
import type { APIResponseObject } from "../../types";
import type { APIResponseObject, SQLInsertGenValueType } from "../../types";
type Params = {
sql: string;
values?: (string | number)[];
values?: SQLInsertGenValueType[];
};
export default async function DbSQL<