committed query builder