We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5f7774 commit b03c26bCopy full SHA for b03c26b
QueryBuilder.php
@@ -156,7 +156,10 @@ public function setCriteria(array $criteria)
156
foreach ($criteria as $key => $value) {
157
if (is_object($value) && $this->_om->getUnitOfWork()->isInIdentityMap($value)) {
158
$this->field($key)->references($value);
159
- } else {
+ } elseif (null === $value) {
160
+ $this->field($key)->in([null]); // Temp fix as Parse PHP SDK convert equalTo null as exists=false
161
+ }
162
+ else {
163
$this->field($key)->equals($value);
164
}
165
0 commit comments