Skip to content

josedacosta/jQueryQueryBuilderBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

from jQuery QueryBuilder to Doctrine QueryBuilder

Status

Status Label Status Value
Build Build Status
Insights SensioLabsInsight
Code Climate Code Climate
Test Coverage Coverage Status

Introduction

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

How to use it

To convert a JSON jQuery QueryBuilder to a QueryBuilder Doctrine :

<?php
    echo "Hello world!";
?>

Acknowledgments

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

Reporting Issues

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 :)

About

from jQuery QueryBuilder to Doctrine QueryBuilder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages