Status Label | Status Value |
---|---|
Build | |
Insights | |
Code Climate | |
Test Coverage |
This Symfony Bundle converts the JSON from the jQuery QueryBuilder into a Doctrine QueryBuilder, in fact, you must provide a "QueryBuilder Doctrine" in parameter, and the "where" conditions of the JSON are added, which is done on this "QueryBuilder Doctrine", and it is returned to you
jQuery QueryBuilder :
http://querybuilder.js.org/
http://querybuilder.js.org/demo.html
Doctrine QueryBuilder :
http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/query-builder.html
Logic:
Entrance :
- Doctrine createQueryBuilder()* and jQuery QueryBuilder JSON
Output :
- Doctrine createQueryBuilder()* with the WHERE conditions of the jQuery QueryBuilder JSON
To convert a JSON jQuery QueryBuilder to a QueryBuilder Doctrine :
<?php
echo "Hello world!";
?>
Many thanks to Tim Groeneveld (timgws) !!
Because a large majority of the code of this project is inspired (re-copies) of its project: QueryBuilderParser of Tim Groeneveld (timgws) https://github.com/timgws/QueryBuilderParser And a more global thank you to all the contributors of the project QueryBuilderParser : https://github.com/timgws/QueryBuilderParser/graphs/contributors
If you do find an issue, please feel free to report it with new issue for this project.
Alternatively, fork the project and make a pull request :)