Created
January 2, 2017 20:53
-
-
Save naranjja/a1039d1be5e5e9ee312be91f1ced3359 to your computer and use it in GitHub Desktop.
Filter using NOT operator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.filter( | |
function (doc) { | |
return r.expr(['red']) | |
.contains(doc('appleColor')) | |
.not(); | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment