lastId and rows.