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 = {
|
type Params = {
|
||||||
sql: string;
|
sql: string;
|
||||||
values?: (string | number)[];
|
values?: SQLInsertGenValueType[];
|
||||||
};
|
};
|
||||||
export default function DbSQL<T extends {
|
export default function DbSQL<T extends {
|
||||||
[k: string]: any;
|
[k: string]: any;
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@moduletrace/bun-sqlite",
|
"name": "@moduletrace/bun-sqlite",
|
||||||
"version": "1.0.25",
|
"version": "1.0.26",
|
||||||
"description": "SQLite manager for Bun",
|
"description": "SQLite manager for Bun",
|
||||||
"author": "Benjamin Toby",
|
"author": "Benjamin Toby",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
import DbClient from ".";
|
import DbClient from ".";
|
||||||
import _ from "lodash";
|
import _ from "lodash";
|
||||||
import type { APIResponseObject } from "../../types";
|
import type { APIResponseObject, SQLInsertGenValueType } from "../../types";
|
||||||
|
|
||||||
type Params = {
|
type Params = {
|
||||||
sql: string;
|
sql: string;
|
||||||
values?: (string | number)[];
|
values?: SQLInsertGenValueType[];
|
||||||
};
|
};
|
||||||
|
|
||||||
export default async function DbSQL<
|
export default async function DbSQL<
|
||||||
|
|||||||
Reference in New Issue
Block a user