We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500b034 commit efdeaefCopy full SHA for efdeaef
src/lib/connectionPool.ts
@@ -7,7 +7,7 @@ pg.types.setTypeParser(20, 'text', parseInt)
7
const { Pool } = pg
8
9
export const RunQuery = async (connectionString: any, sql: string | SQLStatement) => {
10
- const pool = new Pool({ connectionString })
+ const pool = new Pool({ connectionString, ssl: false })
11
try {
12
const results = await pool.query(sql)
13
return { data: results.rows, error: null }
0 commit comments