We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArcadeDB Server v23.6.1 (build 0eba746edfdf65b4a2dc483bfc5435bca397e55f/1688529756647/main)
Running on Linux 2.6.32-431.el6.x86_64 - Java HotSpot(TM) 64-Bit Server VM 11.0.19 (18.9)
return data rows
catch ERROR: Error on parsing bind message: null at d:\teamwork\portal\node_modules\pg-pool\index.js:45:11 at process.processTicksAndRejections (d:\teamwork\portal\lib\internal\process\task_queues.js:95:5) at async Object.<anonymous> (D:\teamwork\portal\app\routes\signin.js:44:21) {length: 56, name: 'error', severity: 'ERROR', code: 'XX000', detail: undefined, …}
const {Pool} = require("pg"); try{ const pool = new Pool({ host: 'XXX.XXX.XXX.XXX', port: 5432, password: 'XXX', user: 'root', database: 'mydb', }) const res = await pool.query('select from User where id=$1',['test']); console.log(res.rows[0]); }catch(error){ console.error(error); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ArcadeDB Version:
ArcadeDB Server v23.6.1 (build 0eba746edfdf65b4a2dc483bfc5435bca397e55f/1688529756647/main)
OS and JDK Version:
Running on Linux 2.6.32-431.el6.x86_64 - Java HotSpot(TM) 64-Bit Server VM 11.0.19 (18.9)
Expected behavior
return data rows
Actual behavior
catch ERROR: Error on parsing bind message: null at d:\teamwork\portal\node_modules\pg-pool\index.js:45:11 at process.processTicksAndRejections (d:\teamwork\portal\lib\internal\process\task_queues.js:95:5) at async Object.<anonymous> (D:\teamwork\portal\app\routes\signin.js:44:21) {length: 56, name: 'error', severity: 'ERROR', code: 'XX000', detail: undefined, …}
Sample Code
const {Pool} = require("pg"); try{ const pool = new Pool({ host: 'XXX.XXX.XXX.XXX', port: 5432, password: 'XXX', user: 'root', database: 'mydb', }) const res = await pool.query('select from User where id=$1',['test']); console.log(res.rows[0]); }catch(error){ console.error(error); }
The text was updated successfully, but these errors were encountered: