Postgres Sql Not Equal Operator In Javascript