- Added Events to repository and entitytrait objects. Some more work to be done on this.

- Diverses bug fixes linked to join and relations
- Field date and datetime are now outputed using given locale.
This commit is contained in:
Dave Mc Nicoll committed 2020-05-20 15:34:50 -04:00
1 parent 1839726dc0
commit 4d221859fc
15 files changed
+421 -99

No files matched your search

+5
View File
@@ -174,6 +174,11 @@ class QueryBuilder
public function where($field, $value, string $operator = Query\Where::OPERATOR_EQUAL, string $condition = Query\Where::CONDITION_AND, bool $not = false) : self
{
# Empty IN case
if ( [] === $value ) {
return $this;
}
if ( $this->where ?? false ) {
$where = $this->where;
}