Updates
This commit is contained in:
@@ -27,6 +27,9 @@ function sqlGenerator({ tableName, genObject, dbFullName, count }) {
|
||||
if (queryObj.nullValue) {
|
||||
str = `${finalFieldName} IS NULL`;
|
||||
}
|
||||
else if (queryObj.notNullValue) {
|
||||
str = `${finalFieldName} IS NOT NULL`;
|
||||
}
|
||||
else if (typeof queryObj.value == "string" ||
|
||||
typeof queryObj.value == "number") {
|
||||
const valueParsed = String(queryObj.value);
|
||||
|
||||
Vendored
+1
@@ -977,6 +977,7 @@ export type ServerQueryObject<T extends object = {
|
||||
}> = {
|
||||
value?: string | string[];
|
||||
nullValue?: boolean;
|
||||
notNullValue?: boolean;
|
||||
operator?: (typeof ServerQueryOperators)[number];
|
||||
equality?: (typeof ServerQueryEqualities)[number];
|
||||
tableName?: string;
|
||||
|
||||
Reference in New Issue
Block a user