Skip to content

Commit 6fdc2f2

Browse files
authored
fix the usage of where field not exists
1 parent 0b03df6 commit 6fdc2f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Index and type names setted in query will override values the configuration file
182182

183183
##### Where not field exists
184184

185-
ES::whereNot("hobbies", "exists", true)->get(); or ES::whereExists("hobbies", true)->get();
185+
ES::whereNot("hobbies", "exists", true)->get(); or ES::whereExists("hobbies", false)->get();
186186

187187
##### Where not in clause
188188

0 commit comments

Comments
 (0)