Skip to content
Advertisement

How to add new column to select statement with JSqlParser

This is my sql statement.

JavaScript

How can i add new columns to it dynamically with JSqlParser?

For example i want to add “mylocation” column to my sql query:

JavaScript

Advertisement

Answer

According to the documentation it should work like this:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement