Refactor DB Handler. Use Bun native SQL adapter.
This commit is contained in:
Vendored
-11
@@ -1,11 +0,0 @@
|
||||
import type { APIResponseObject, SQLInsertGenValueType } from "../../types";
|
||||
type Params = {
|
||||
sql: string;
|
||||
values?: SQLInsertGenValueType[];
|
||||
};
|
||||
export default function DbSQL<T extends {
|
||||
[k: string]: any;
|
||||
} = {
|
||||
[k: string]: any;
|
||||
}>({ sql, values }: Params): Promise<APIResponseObject<T>>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user