The values for the key is_agent is TRUE or blank.
I have the following query:
db.users.find( { $not: {is_agent:TRUE} }, {email:1} )
I get the following error:
ReferenceError: TRUE is not defined
When I used "TRUE" I got the following error:
"$err" : "Can't canonicalize query: BadValue unknown top level operator: $not",
"code" : 17287
What is the correct syntax?