MongoDB string comparison


In this article we’ll go through the MongoDB string comparison to understand how it internally sorts and compares strings.
We’ll also have a practical example to be executed by MongoDB Shell to better understand the different behaviour in front of a small concrete collection.

Continue reading