Issues with $gte and $lte for string comparision

Hi Steeve,

Probably I did not explain my question correctly.

Issue : if I run below command

db.test.find({“name”:{$lte: "C}}

It is not returning any names starting with “C”.

$lte : less than or equal right?

This is my issue?

Thanks
Sarma
Please let me know your thoughts.