I have several documents in a MongoDB Collection, with a field \'name\' (which is a String).
How can I perform queries like 7 <= name.length <= 14
7 <= name.length <= 14
$where queries are not very efficient. MongoDB
$where
If this is a frequently executed query, you might want to store the length in a separate field. Denormalization