leandrogehlen / yii2-querybuilder

Extension for Yii2 Framework to work with jQuery QueryBuilder
43 stars 34 forks source link

save definition of created query #8

Closed philippfrenzel closed 7 years ago

philippfrenzel commented 8 years ago

Hi,

any plans to allow a "save" of the query beeing created by the user?

Thanks - Philipp

leandrogehlen commented 7 years ago

Hello @philippfrenzel, i think that feature already exists in jquery plugin

Is it something like this? http://querybuilder.js.org/demo.html#import_export.

philippfrenzel commented 7 years ago

Hi,

kind of -> means the jQuery Plugin is returning the query structure - what I meant would be a JSON to QueryBuilder translator within your module ;)

Thanks for taking care!

Philipp

philippfrenzel commented 7 years ago

sorry, stupid me -> I just saw you can parse it already -- so thinking about "just storing" the json object to the database ;)

leandrogehlen commented 7 years ago

Exacly!! 👍