mindplay-dk / sql

Database framework and query builder
Other
18 stars 6 forks source link

Count queries #13

Closed mindplay-dk closed 8 years ago

mindplay-dk commented 8 years ago

Add support for count queries.

By adding a ->count() method to SelectQuery maybe? Which returns a CountQuery instance??

Or by internally modifying the state of the select query?

Relates to #2