Closed (fixed)
Project:
MongoDB
Version:
7.x-1.x-dev
Component:
Field storage
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2011 at 15:29 UTC
Updated:
5 Mar 2012 at 14:20 UTC
The CONTAINS operation is equivalent to "LIKE '%value%'" in mysql
Although there is one difference and that is the default setup in mysql is that the LIKE is case-insensitive.
So the question is should CONTAINS in mongodb also be case-insensitive?
This change could be achieved with the attached patch.
| Comment | File | Size | Author |
|---|---|---|---|
| mongodb_contains_case_insensitive.patch | 838 bytes | univate |
Comments
Comment #1
univate commentedComment #3
misc commentedComment #4
misc commentedPatch was applied to 7.x-1.x
Comment #5
misc commented