NOT LIKE sql query to mongoDB


How to do NOT LIKE in mongoDB?

$regex and $not does not work together?


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


it doesn’t work well with $regex


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


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