Updates
This commit is contained in:
@@ -64,7 +64,7 @@ export default function dbSchemaToType(params?: Params): string[] | undefined {
|
||||
datasquirelSchema.dbName ||
|
||||
datasquirelSchema.dbFullName?.replace(/datasquirel_user_\d+_/, "")
|
||||
)
|
||||
.toUpperCase()
|
||||
?.toUpperCase()
|
||||
.replace(/ /g, "_");
|
||||
|
||||
const schemas = dbTablesSchemas
|
||||
|
||||
@@ -55,7 +55,9 @@ export default function sqlGenerator<
|
||||
|
||||
let str = `${finalFieldName}=?`;
|
||||
|
||||
if (
|
||||
if (queryObj.nullValue) {
|
||||
str = `${finalFieldName} IS NULL`;
|
||||
} else if (
|
||||
typeof queryObj.value == "string" ||
|
||||
typeof queryObj.value == "number"
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user