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.
2 parents da5d4ef + 3360697 commit c22cc33Copy full SHA for c22cc33
packages/pg/test/integration/client/connection-parameter-tests.js
@@ -0,0 +1,13 @@
1
+const helper = require('../test-helper')
2
+const suite = new helper.Suite()
3
+const { Client } = helper.pg
4
+
5
+suite.test('it sends options', async () => {
6
+ const client = new Client({
7
+ options: '--default_transaction_isolation=serializable',
8
+ })
9
+ await client.connect()
10
+ const { rows } = await client.query('SHOW default_transaction_isolation')
11
+ console.log(rows)
12
+ await client.end()
13
+})
0 commit comments