Revert "wip"

This reverts commit d1b0bf965b.
This commit is contained in:
Sam Rose 2024-11-25 17:53:03 +00:00
parent d1b0bf965b
commit 50a7539e25
No known key found for this signature in database
1 changed files with 9 additions and 9 deletions

View File

@ -1210,15 +1210,15 @@ class InternalBuilder {
const separator = this.client === SqlClient.ORACLE ? " VALUE " : "," const separator = this.client === SqlClient.ORACLE ? " VALUE " : ","
let identifier = this.rawQuotedIdentifier(tableField) let identifier = this.rawQuotedIdentifier(tableField)
// if (schema.type === FieldType.BIGINT) { if (schema.type === FieldType.BIGINT) {
// identifier = this.castIntToString(identifier) identifier = this.castIntToString(identifier)
// } else if (schema.type === FieldType.LINK) { } else if (schema.type === FieldType.LINK) {
// const otherTable = this.query.meta.tables![schema.tableId] const otherTable = this.query.meta.tables![schema.tableId]
// const otherField = otherTable.schema[schema.fieldName] const otherField = otherTable.schema[schema.fieldName]
// if (otherField.type === FieldType.BIGINT) { if (otherField.type === FieldType.BIGINT) {
// identifier = this.castIntToString(identifier) identifier = this.castIntToString(identifier)
// } }
// } }
return this.knex.raw(`?${separator}??`, [unaliased, identifier]).toString() return this.knex.raw(`?${separator}??`, [unaliased, identifier]).toString()
} }