├── .gitignore ├── .travis.yml ├── LICENSE.md ├── README.md ├── bin └── prepare.sh ├── composer.json ├── composer.lock ├── infection.json.dist ├── phpunit.integration.xml ├── phpunit.xml ├── src ├── BasicWhereClause.php ├── BetweenWhereClause.php ├── CompositeWhereClause.php ├── JoinClause.php ├── NullWhereClause.php ├── Query.php ├── QueryException.php ├── WhereClause.php ├── WhereInClause.php ├── WhereLikeClause.php └── Wpdb.php └── tests ├── IntegrationTests ├── DeleteTest.php ├── InsertTest.php ├── JoinTest.php ├── ResultsTest.php ├── SqlInjectionTest.php └── UpdateTest.php ├── MockWpdb.php ├── UnitTests ├── DeleteTest.php ├── GroupByTest.php ├── InsertTest.php ├── JoinTest.php ├── LimitOffsetTest.php ├── OrderByTest.php ├── SelectTest.php ├── UpdateTest.php └── WhereTest.php ├── integration.bootstrap.php └── unit.bootstrap.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/README.md -------------------------------------------------------------------------------- /bin/prepare.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/bin/prepare.sh -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/composer.lock -------------------------------------------------------------------------------- /infection.json.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/infection.json.dist -------------------------------------------------------------------------------- /phpunit.integration.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/phpunit.integration.xml -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/BasicWhereClause.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/src/BasicWhereClause.php -------------------------------------------------------------------------------- /src/BetweenWhereClause.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/src/BetweenWhereClause.php -------------------------------------------------------------------------------- /src/CompositeWhereClause.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/src/CompositeWhereClause.php -------------------------------------------------------------------------------- /src/JoinClause.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/src/JoinClause.php -------------------------------------------------------------------------------- /src/NullWhereClause.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/src/NullWhereClause.php -------------------------------------------------------------------------------- /src/Query.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/src/Query.php -------------------------------------------------------------------------------- /src/QueryException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/src/QueryException.php -------------------------------------------------------------------------------- /src/WhereClause.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/src/WhereClause.php -------------------------------------------------------------------------------- /src/WhereInClause.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/src/WhereInClause.php -------------------------------------------------------------------------------- /src/WhereLikeClause.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/src/WhereLikeClause.php -------------------------------------------------------------------------------- /src/Wpdb.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/src/Wpdb.php -------------------------------------------------------------------------------- /tests/IntegrationTests/DeleteTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/IntegrationTests/DeleteTest.php -------------------------------------------------------------------------------- /tests/IntegrationTests/InsertTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/IntegrationTests/InsertTest.php -------------------------------------------------------------------------------- /tests/IntegrationTests/JoinTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/IntegrationTests/JoinTest.php -------------------------------------------------------------------------------- /tests/IntegrationTests/ResultsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/IntegrationTests/ResultsTest.php -------------------------------------------------------------------------------- /tests/IntegrationTests/SqlInjectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/IntegrationTests/SqlInjectionTest.php -------------------------------------------------------------------------------- /tests/IntegrationTests/UpdateTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/IntegrationTests/UpdateTest.php -------------------------------------------------------------------------------- /tests/MockWpdb.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/MockWpdb.php -------------------------------------------------------------------------------- /tests/UnitTests/DeleteTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/UnitTests/DeleteTest.php -------------------------------------------------------------------------------- /tests/UnitTests/GroupByTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/UnitTests/GroupByTest.php -------------------------------------------------------------------------------- /tests/UnitTests/InsertTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/UnitTests/InsertTest.php -------------------------------------------------------------------------------- /tests/UnitTests/JoinTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/UnitTests/JoinTest.php -------------------------------------------------------------------------------- /tests/UnitTests/LimitOffsetTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/UnitTests/LimitOffsetTest.php -------------------------------------------------------------------------------- /tests/UnitTests/OrderByTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/UnitTests/OrderByTest.php -------------------------------------------------------------------------------- /tests/UnitTests/SelectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/UnitTests/SelectTest.php -------------------------------------------------------------------------------- /tests/UnitTests/UpdateTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/UnitTests/UpdateTest.php -------------------------------------------------------------------------------- /tests/UnitTests/WhereTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/UnitTests/WhereTest.php -------------------------------------------------------------------------------- /tests/integration.bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/integration.bootstrap.php -------------------------------------------------------------------------------- /tests/unit.bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephenharris/WP-Query-Builder/HEAD/tests/unit.bootstrap.php --------------------------------------------------------------------------------