Update raw SQL runner
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
@@ -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<
|
||||
|
||||
Reference in New Issue
Block a user