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
node-postgres
node-postgres will pass all parameter as a VARCHAR data, no matter what type you input.
client.connect() .then(() => { const query = { text: 'SELECT * FROM Model_Ticket LIMIT $1 OFFSET $2', values: [100, 50], }; return client.query(query); })
However, BigQuery only accepts INTEGER literal for LIMIT or OFFSET statement.
"message" : "LIMIT expects an integer literal or parameter at [139:7]", "status" : "INVALID_ARGUMENT"
The text was updated successfully, but these errors were encountered:
legacy issue.
Sorry, something went wrong.
No branches or pull requests
node-postgres
will pass all parameter as a VARCHAR data, no matter what type you input.However, BigQuery only accepts INTEGER literal for LIMIT or OFFSET statement.
The text was updated successfully, but these errors were encountered: