Updated knex version
Added groupByTime query criteria to single attribute query