timgws / QueryBuilderParser

A simple to use query builder for the jQuery QueryBuilder plugin for use with Laravel.
MIT License
159 stars 65 forks source link

Example with DataTables #47

Closed p0ntsNL closed 3 years ago

p0ntsNL commented 4 years ago

Is there a working example in combination with datatables somewhere? Laravel version 6^

timgws commented 4 years ago

https://github.com/timgws/QueryBuilderParser#integration-examples It would be relatively easy to migrate this example to yajra datatables

p0ntsNL commented 4 years ago

Hi Tim,

Thanks for the quick reply. So I do not understand where $input comes from in that example code.

Also the use of ::Input is not allowed anymore since its replaced by Requests.

Is $querybuilderJSON actual row data from MySQL formatted as JSON?

So what should be inside $input[‘querybuilder’] then?