- 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:
1 parent
1839726dc0
commit
4d221859fc
15 files changed
+421
-99
No files matched your search
+1
-1
@@ -47,6 +47,6 @@ class Join extends Fragment {
|
||||
|
||||
public function render() : string
|
||||
{
|
||||
return $this->renderSegments([ $this->side, static::SQL_TOKEN, $this->table, $this->alias ?? "", $this->attachment, $this->field, "=", $this->value ]);
|
||||
return $this->renderSegments([ strtoupper($this->side), static::SQL_TOKEN, $this->table, $this->alias ?? "", $this->attachment, $this->field, "=", $this->value ]);
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -112,7 +112,7 @@ class Where extends Fragment {
|
||||
return (in_array($this->operator, [ '!=', '<>' ]) ? Where::CONDITION_NOT . " " : "") . Where::COMPARISON_IN;
|
||||
}
|
||||
|
||||
return $this->operator;
|
||||
return $this->operator;
|
||||
}
|
||||
|
||||
protected function value()
|
||||
@@ -140,7 +140,7 @@ class Where extends Fragment {
|
||||
return $value->name();
|
||||
}
|
||||
else {
|
||||
return $this->queryBuilder->addParameter($this->value);
|
||||
return $this->queryBuilder->addParameter($value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user