The project i am working on uses querybuilder from koolreport. We normally render the querybuilder to allow admin to generate the query dynamically. But now I have a function which gives me MySql query for my DB itself, i want that query to be converted into query builder object so that i can use the already existing logic for saving it to DB. Can someone guide my on how to do this.
The main reason for this is because i am using chartbuilder along with querybuilder and as chartbuilder uses queryparams to buid the query back, i need a way to convert my query to those respective queryparams.