Major version update. Refactor sql generator function. Add core select directives like SUM, MIN, MAX, etc

This commit is contained in:
2026-04-18 07:24:01 +01:00
parent 0a3320ff83
commit f3f1c42699
23 changed files with 1275 additions and 662 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import type { ServerQueryParam } from "../types";
import type { ServerQueryParam, SQLInsertGenValueType } from "../types";
type Param<T extends {
[key: string]: any;
} = {
@@ -11,7 +11,7 @@ type Param<T extends {
};
type Return = {
string: string;
values: (string | number)[];
values: SQLInsertGenValueType[];
};
/**
* # SQL Query Generator