Skip to content
Permalink
Browse files

Merge pull request #52 from shadowhand/feature/rebuild

Version 3.0 rebuild
  • Loading branch information...
shadowhand committed Apr 18, 2018
2 parents b4b8980 + e08093a commit f81b533fc1b8aa54122e34dba56ea681e8248731
Showing with 3,284 additions and 3,796 deletions.
  1. +1 −0 .gitignore
  2. +1 −5 .travis.yml
  3. +10 −0 CHANGELOG.md
  4. +3 −537 README.md
  5. +8 −3 composer.json
  6. +1 −0 docs/.gitignore
  7. +1 −1 docs/_config.yml
  8. +165 −0 docs/cheatsheet.md
  9. +52 −0 docs/criteria-strings.md
  10. +42 −0 docs/engines.md
  11. +54 −2 docs/index.md
  12. +20 −0 docs/install.md
  13. +30 −0 docs/query-delete.md
  14. +49 −0 docs/query-insert.md
  15. +112 −0 docs/query-select.md
  16. +35 −0 docs/query-update.md
  17. +0 −52 src/Alias.php
  18. +81 −0 src/Builder/CriteriaBuilder.php
  19. +65 −0 src/Builder/LikeBuilder.php
  20. +0 −14 src/Common/Identifier.php
  21. +0 −247 src/Conditions.php
  22. +11 −0 src/CriteriaInterface.php
  23. +0 −71 src/DeleteQuery.php
  24. +68 −0 src/Engine/BasicEngine.php
  25. +12 −0 src/Engine/CommonEngine.php
  26. +19 −0 src/Engine/MySqlEngine.php
  27. +19 −0 src/Engine/PostgresEngine.php
  28. +30 −0 src/Engine/SqlServerEngine.php
  29. +61 −0 src/EngineInterface.php
  30. +0 −45 src/Expression.php
  31. +12 −0 src/ExpressionInterface.php
  32. +0 −152 src/Identifier.php
  33. +0 −17 src/IdentifierException.php
  34. +0 −128 src/InsertQuery.php
  35. +0 −48 src/LikeValue.php
  36. +0 −38 src/MySQL/DeleteQuery.php
  37. +0 −14 src/MySQL/Identifier.php
  38. +0 −40 src/MySQL/UpdateQuery.php
  39. +42 −0 src/Partial/Criteria.php
  40. +40 −0 src/Partial/Expression.php
  41. +28 −0 src/Partial/Identifier.php
  42. +31 −0 src/Partial/IdentifierQualified.php
  43. +29 −0 src/Partial/LikeBegins.php
  44. +29 −0 src/Partial/LikeContains.php
  45. +29 −0 src/Partial/LikeEnds.php
  46. +34 −0 src/Partial/Listing.php
  47. +31 −0 src/Partial/Literal.php
  48. +28 −0 src/Partial/Parameter.php
  49. +0 −11 src/Postgres/DeleteQuery.php
  50. +0 −11 src/Postgres/InsertQuery.php
  51. +0 −44 src/Postgres/Traits/CanReturnAfterExecute.php
  52. +0 −11 src/Postgres/UpdateQuery.php
  53. +24 −1 src/Query.php
  54. +44 −0 src/Query/AbstractQuery.php
  55. +20 −0 src/Query/Capability/CanUnion.php
  56. +26 −0 src/Query/Capability/HasFrom.php
  57. +25 −0 src/Query/Capability/HasLimit.php
  58. +25 −0 src/Query/Capability/HasOffset.php
  59. +27 −0 src/Query/Capability/HasOrderBy.php
  60. +26 −0 src/Query/Capability/HasReturning.php
  61. +44 −0 src/Query/Capability/HasWhere.php
  62. +30 −0 src/Query/DeleteQuery.php
  63. +77 −0 src/Query/InsertQuery.php
  64. +28 −0 src/Query/MySql/SelectQuery.php
  65. +20 −0 src/Query/Postgres/InsertQuery.php
  66. +20 −0 src/Query/Postgres/UpdateQuery.php
  67. +136 −0 src/Query/SelectQuery.php
  68. +26 −0 src/Query/SqlServer/DeleteQuery.php
  69. +27 −0 src/Query/SqlServer/SelectQuery.php
  70. +65 −0 src/Query/UnionQuery.php
  71. +66 −0 src/Query/UpdateQuery.php
  72. +0 −28 src/QueryBuilderException.php
  73. +56 −83 src/QueryFactory.php
  74. +11 −0 src/QueryInterface.php
  75. +0 −39 src/Reference.php
  76. +121 −0 src/Ruler/Visitor.php
  77. +0 −261 src/SelectQuery.php
  78. +0 −14 src/SqlServer/Identifier.php
  79. +0 −20 src/SqlServer/LikeValue.php
  80. +0 −17 src/Statement.php
  81. +11 −0 src/StatementInterface.php
  82. +0 −17 src/Traits/CanConvertIteratorToString.php
  83. +0 −23 src/Traits/CanLimit.php
  84. +0 −40 src/Traits/CanOrderBy.php
  85. +0 −60 src/Traits/CanReplaceBooleanAndNullValues.php
  86. +0 −18 src/Traits/CanUseDefaultIdentifier.php
  87. +0 −13 src/Traits/HasNoParameters.php
  88. +0 −107 src/UpdateQuery.php
  89. +0 −58 src/ValueList.php
  90. +84 −10 src/functions.php
  91. +0 −97 tests/Common/IdentifierTest.php
  92. +0 −114 tests/ConditionsTest.php
  93. +56 −0 tests/CriteriaTest.php
  94. +0 −43 tests/DeleteQueryTest.php
  95. +22 −0 tests/Engine/MySqlTest.php
  96. +22 −0 tests/Engine/PostgresTest.php
  97. +30 −0 tests/Engine/SqlServerTest.php
  98. +0 −16 tests/ExpressionTest.php
  99. +0 −124 tests/IdentifierTest.php
  100. +0 −146 tests/InsertQueryTest.php
  101. +0 −41 tests/LikeValueTest.php
  102. +0 −82 tests/MySQL/DeleteQueryTest.php
  103. +0 −24 tests/MySQL/IdentifierTest.php
  104. +0 −103 tests/MySQL/UpdateQueryTest.php
  105. +125 −0 tests/Partial/CriteriaTest.php
  106. +43 −0 tests/Partial/IdentifierTest.php
  107. +49 −0 tests/Partial/LikeTest.php
  108. +0 −26 tests/Postgres/DeleteQueryTest.php
  109. +0 −31 tests/Postgres/InsertQueryTest.php
  110. +0 −57 tests/Postgres/UpdateQueryTest.php
  111. +28 −0 tests/Query/DeleteTest.php
  112. +41 −0 tests/Query/InsertTest.php
  113. +14 −0 tests/Query/MySql/MySqlEngineSetup.php
  114. +22 −0 tests/Query/MySql/SelectTest.php
  115. +22 −0 tests/Query/Postgres/InsertTest.php
  116. +14 −0 tests/Query/Postgres/PostgresEngineSetup.php
  117. +22 −0 tests/Query/Postgres/UpdateTest.php
  118. +294 −0 tests/Query/SelectTest.php
  119. +20 −0 tests/Query/SqlServer/DeleteTest.php
  120. +43 −0 tests/Query/SqlServer/SelectTest.php
  121. +14 −0 tests/Query/SqlServer/SqlServerEngineSetup.php
  122. +42 −0 tests/Query/UpdateTest.php
  123. +0 −101 tests/QueryFactoryTest.php
  124. +0 −40 tests/ReferenceTest.php
  125. +0 −294 tests/SelectQueryTest.php
  126. +0 −24 tests/SqlServer/IdentifierTest.php
  127. +0 −17 tests/SqlServer/LikeValueTest.php
  128. +39 −0 tests/TestCase.php
  129. +0 −81 tests/UpdateQueryTest.php
  130. +0 −35 tests/ValueListTest.php
@@ -1,5 +1,6 @@
composer.phar
composer.lock
phpunit.xml
src/hoa.php
vendor/
build/
@@ -5,20 +5,16 @@ cache:
- $HOME/.composer/cache

php:
- 7.0
- 7.1
- 7.2
- nightly

matrix:
allow_failures:
- php: nightly
include:
- php: 7.0
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'

before_script:
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
- travis_retry composer install

script:
- composer test
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [3.0.0]

### Changed

- Completely new interface
- Improved handling of sub-queries and composition
- Functional and string based criteria builders
- Removal of all static methods
- Requires PHP 7.1 or better

## [2.3.1]

### Fixed
Oops, something went wrong.

0 comments on commit f81b533

Please sign in to comment.
You can’t perform that action at this time.