sails-mongo
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -215,2 +215,5 @@ /** | ||
constraint['$regex'] = new RegExp('^' + _.escapeRegExp(modifier).replace(/^%/, '.*').replace(/([^\\])%/g, '$1.*').replace(/\\%/g, '%') + '$'); | ||
if (meta && meta.makeLikeModifierCaseInsensitive && _.isBoolean(meta.makeLikeModifierCaseInsensitive)) { | ||
constraint['$options'] = 'i'; | ||
} | ||
break; | ||
@@ -217,0 +220,0 @@ |
{ | ||
"name": "sails-mongo", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Mongo DB adapter for Sails.js/Waterline.", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
249472
4318