Open
Description
Steps to reproduce
const sql = neon(process.env.POSTGRES_URL_NON_POOLING);
return await sql(query, params);
Expected result
Return rows
Actual result
Error
Environment
Vercel Edge Runtime
Logs, links
Work with Kysely and Pool, but this does not work:
const sql = neon(process.env.POSTGRES_URL_NON_POOLING);
return await sql(query, params);
[NeonDbError: Error connecting to database: fetch failed] {
name: 'NeonDbError',
severity: undefined,
code: undefined,
detail: undefined,
hint: undefined,
position: undefined,
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: undefined,
line: undefined,
routine: undefined,
sourceError: [TypeError: fetch failed] { cause: [Error: AggregateError] }
}
Metadata
Metadata
Assignees
Labels
No labels