You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
awaitpgdb.transaction().execute(async(db)=>{constr1=awaitsql`SET LOCAL c.user_id2 TO ${"test"};`.execute(db);console.log({ r1 });});
node:internal/process/esm_loader:46
internalBinding('errors').triggerUncaughtException(
^
PostgresError: syntax error at or near "$1"
at ErrorResponse (file://server/node_modules/postgres/src/connection.js:790:26)
at handle (file://server/node_modules/postgres/src/connection.js:476:6)
at Socket.data (file://server/node_modules/postgres/src/connection.js:315:9)
at Socket.emit (node:events:514:28)
at addChunk (node:internal/streams/readable:343:12)
at readableAddChunk (node:internal/streams/readable:316:9)
at Readable.push (node:internal/streams/readable:253:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
severity_local: 'ERROR',
severity: 'ERROR',
code: '42601',
position: '25',
file: 'scan.l',
line: '1241',
routine: 'scanner_yyerror'
}
Node.js v20.5.1
The text was updated successfully, but these errors were encountered:
im using kysely and kysely-postgres-js
The text was updated successfully, but these errors were encountered: