This commit is contained in:
Benjamin Toby
2025-06-04 08:43:16 +01:00
parent 1364074c2c
commit 761348de08
37 changed files with 577 additions and 140 deletions
@@ -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"
) {