dresende / node-orm2

Object Relational Mapping
http://github.com/dresende/node-orm2
MIT License
3.07k stars 379 forks source link

SQL HAVING clause #602

Open gileze33 opened 9 years ago

gileze33 commented 9 years ago

Forgive me if I'm missing something, but I couldn't see anywhere to add a HAVING in the SQL query?

Use cases include geospatial queries (possible by the raw where clause but can be made a lot more efficient by using the HAVING clause)