balderdashy/sails-postgresql — pull request #25 by gliesche (2013-10-18 16:44:58+00:00)
Title: make camelCase columns work for cause sensitive column types

I am using camel case for my models attributes and found out that queries using the in operator with camel case columns wouldn't work. So something like:

Comment.find().where({"postId": [1,2] }).done(function(err, comments) {});

would not work.

This fixes this problem. I also wrote a test to make sure it doesn't brake anything else.