Please make sure each operator like "+, - , * , /", should has space on both side of the operator, should look like this, "query.offset((page - 1) * pageSize)