Adds support for subqueries
Enables passing params to Db::query()