documentation for addedRows and affectedRows