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.
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
Describe the bug A clear and concise description of what the bug is.
String sql = "SELECT ti.*\n" + " FROM ticket_info ti\n" + " WHERE ti.tenant_id = ?\n" + " AND (ti.form_value -> '23s'):: jsonb\n" + " ?| (array[?,?,?,?,?])"; Select selectStatement = (Select) CCJSqlParserUtil.parse(sql); System.out.println(selectStatement.toString());
if i do this, it's ok; if change ti.form_value -> '23s' to ti.form_value -> ?, it's throw a exception.
ti.form_value -> '23s'
ti.form_value -> ?
Expected behavior A clear and concise description of what you expected to happen.
System
The text was updated successfully, but these errors were encountered:
That's right. At the moment those JSonExpressions only support character literals and longs. PRs are welcome.
Sorry, something went wrong.
Works with JSQLParser 4.6, closed.
No branches or pull requests
Describe the bug
A clear and concise description of what the bug is.
String sql = "SELECT ti.*\n" + " FROM ticket_info ti\n" + " WHERE ti.tenant_id = ?\n" + " AND (ti.form_value -> '23s'):: jsonb\n" + " ?| (array[?,?,?,?,?])"; Select selectStatement = (Select) CCJSqlParserUtil.parse(sql); System.out.println(selectStatement.toString());
if i do this, it's ok;

if change
ti.form_value -> '23s'
toti.form_value -> ?
, it's throw a exception.Expected behavior
A clear and concise description of what you expected to happen.
System
postgres 9.6
The text was updated successfully, but these errors were encountered: