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
+3 -3
View File
@@ -1,7 +1,7 @@
import type { ServerQueryEqualities, ServerQueryObject } from "../types";
import type { ServerQueryEqualities, ServerQueryObject, SQLInsertGenValueType } from "../types";
type Params = {
fieldName: string;
value?: string;
value?: SQLInsertGenValueType;
equality?: (typeof ServerQueryEqualities)[number];
queryObj: ServerQueryObject<{
[key: string]: any;
@@ -10,7 +10,7 @@ type Params = {
};
type Return = {
str?: string;
param?: string;
param?: SQLInsertGenValueType;
};
/**
* # SQL Gen Operator Gen