- Added a new RelationTypeEnum

This commit is contained in:
mcndave committed 2023-02-07 16:49:25 +00:00
1 parent 26ffecbb6e
commit 94edb09352
4 files changed
+24 -8

No files matched your search

+5
View File
@@ -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);
}
}
}