Mongo (current version 2.0. 0) doesn’t allow case-insensitive searches against indexed fields – see their documentation. For non-indexed fields, the regexes listed in the other answers should be fine.7 Kas 2011
Mongo (current version 2.0. 0) doesn’t allow case-insensitive searches against indexed fields – see their documentation. For non-indexed fields, the regexes listed in the other answers should be fine.7 Kas 2011