Skip to content
Randy Merrill edited this page Jan 5, 2012 · 1 revision

Case-sensitive

MongoDB is case-sensitive. Since CFML is not a case-sensitive language it can cause some unexpected and frustrating results.

When creating the object in CFML enclose your object keys in quotes to ensure they are not converted to uppercase by the CFML engine.

myObject['foo'] = 'bar';
Clone this wiki locally