- Added a new RelationTypeEnum
This commit is contained in:
1 parent
26ffecbb6e
commit
94edb09352
4 files changed
+24
-8
No files matched your search
@@ -12,7 +12,12 @@ class Where {
|
||||
public mixed $value = null,
|
||||
public string $operator = Query\Where::OPERATOR_EQUAL,
|
||||
public string $condition = Query\Where::CONDITION_AND,
|
||||
public null|\Stringable|array $foreignField = null,
|
||||
) {
|
||||
$this->field = Attribute::handleArrayField($field);
|
||||
|
||||
if ($foreignField) {
|
||||
$this->value = Attribute::handleArrayField($foreignField);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user