geddy / model

Datastore-agnostic ORM in JavaScript
265 stars 55 forks source link

cast json fields to string before applying queries #263

Open der-On opened 9 years ago

der-On commented 9 years ago

Currently any query on json fields will fail as json in postgres does not know regular comparison operators. So instead fallback to cast json fields to strings for postgres >= 9.4