sequelize/sequelize — pull request #2758 by levansuper (2014-12-20 12:13:53+00:00)
Title: postgre and count fix

postgre change: in model : when different field name was used exapmle…
…: someField:{field:'some_field', type: JSON} update didnt work because the update query didn't generate correctly;

in conut: when the search parameter was field with different column name example : someField:{field:'some_field'} the query didnt form correctly