This commit is contained in:
Benjamin Toby
2025-09-03 13:27:04 +01:00
parent 97f480c208
commit c34d256891
5 changed files with 8 additions and 3 deletions
@@ -34,6 +34,8 @@ function sqlGenerator({ tableName, genObject, dbFullName, count }) {
queryObj.value.forEach((val) => {
var _a;
const valueParsed = val;
if (!valueParsed)
return;
const valueString = typeof valueParsed == "string"
? valueParsed
: (_a = valueParsed.value) === null || _a === void 0 ? void 0 : _a.toString();
+1 -1
View File
@@ -836,7 +836,7 @@ export type ServerQueryValuesObject = {
export type ServerQueryObject<T extends object = {
[key: string]: any;
}, K extends string = string> = {
value?: string | (string | ServerQueryValuesObject)[];
value?: string | (string | ServerQueryValuesObject | undefined | null)[];
nullValue?: boolean;
notNullValue?: boolean;
operator?: (typeof ServerQueryOperators)[number];