NOT LIKE sql query to mongoDB


#1

How to do NOT LIKE in mongoDB?

$regex and $not does not work together?

thanks


#2
{name: {$not: /pattern/}}

#3

it doesn’t work well with $regex


#4

I like these issue descriptions: it does not work
what is not working for you? It is 100% working


#5

The query I gave you above works fine, I tested it.