Added method and sumary to query builder restfuls