ghqpio
ghqpio
XXata
Created by ghqpio on 12/19/2024 in #help
Probably a bug
No description
11 replies
XXata
Created by ghqpio on 11/22/2024 in #help
Need help with: invalid SQL: table [main/excluded] not found
Using Kysely as a dialect. Trying to insert data and resolve conflict by using native PG "excluded" table when running into conflict. My code: return await this._db .insertInto('Reports') .values(values) .onConflict((oc) => oc.column('id').doUpdateSet((eb) => ({ name: eb.ref('excluded.name'), })), ) .execute(); Hitting an error: functions: Error: invalid SQL: table [main/excluded] not found
13 replies