You could use a regex. In your example that would be: db.stuff.find( { foo: /^bar$/i } );. I must say, though, maybe you could just downcase (or upcase) the ...
確定! 回上一頁