You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
commit 5e7fcfb
Author: Robin de Graaf <hello@devvoh.com>
Date: Tue Mar 10 09:22:06 2020 +0000
Rename QueryPartsTest to StringBuilderTest
commit 5af55fc
Author: Robin de Graaf <hello@devvoh.com>
Date: Mon Feb 24 09:33:40 2020 +0000
Small fixes
commit 2fdbb04
Author: Robin de Graaf <hello@devvoh.com>
Date: Mon Feb 24 09:19:38 2020 +0000
Add StringBuilder and implement
commit 3a55660
Author: Robin de Graaf <hello@devvoh.com>
Date: Sat Feb 22 14:12:47 2020 +0000
Code improvements and test fixes
commit 0eccd0a
Author: Robin de Graaf <hello@devvoh.com>
Date: Thu Nov 7 11:48:20 2019 +0000
Add force index to query
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,19 @@
1
1
# Parable PHP Query
2
2
3
+
## 0.3.0
4
+
5
+
_Changes_
6
+
7
+
- The `SupportsForceIndexTrait` trait `Query::forceIndex(string $key)` and `Query::getForceIndex(): ?string` have been added, allowing you to force a specific index. Use `PRIMARY_KEY_INDEX_VALUE` in place of the actual primary key to force the primary key as an index.
8
+
-`Query::delete()` and `Query::update()` no longer accept aliases since they caused issues.
9
+
-`AbstractCondition::VALUE_TYPE_VALUE` and `AbstractCondition::VALUE_TYPE_KEY` have been removed.
10
+
-`Query::ORDER_ASC` and `Query::ORDER_DESC` have been removed.
11
+
-`Query::VALID_TYPES` has been removed, as it was unused.
12
+
- All string values of `AND` and `OR` have been replaced with `AbstractCondition::TYPE_AND` and `AbstractCondition::TYPE_OR`.
13
+
-`ORDER_ASC` and `ORDER_DESC` have been changed from `int` values to their corresponding `string` values `ASC` and `DESC`.
14
+
-`OrderBy::getDirectionAsString()` has turned into `OrderBy::getDirection()`.
15
+
- The `BuilderTest` now also attempts to _run_ the queries. Adding this step made some issues clear, which are now all fixed.
0 commit comments