Skip to content

Changing/appending to values of insert query #1575

Answered by wumpz
ArihantRk asked this question in Q&A
Discussion options

You must be logged in to vote

Look into
https://github.com/JSQLParser/JSqlParser/wiki/Examples-of-SQL-building#replacing-string-values
this should give you an idea of how to achieve this.

However, you should know that JSqlParser treats double-quoted identifiers as object names and not string literals. Therefore you get for "test" and "data" a column object. Consider using single quotes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by manticore-projects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants