Skip to content

Commit f846576

Browse files
authored
Add doesntExist to passthru
Those calls should return the same result but instead the call to "doesntExist" returns an object. ```php !$user->groups()->exists(); $user->groups()->doesntExist(); ```
1 parent ae864fb commit f846576

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Jenssegers/Mongodb/Eloquent/Builder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class Builder extends EloquentBuilder
2626
'avg',
2727
'sum',
2828
'exists',
29+
'doesntExist',
2930
'push',
3031
'pull',
3132
];

0 commit comments

Comments
 (0)