updateListAndReturnChangedRows method

Future<int> updateListAndReturnChangedRows(
  1. List<T> items,
  2. OnConflictStrategy onConflictStrategy
)

Implementation

Future<int> updateListAndReturnChangedRows(
  final List<T> items,
  final OnConflictStrategy onConflictStrategy,
) async {
  if (items.isEmpty) return 0;
  return _updateList(items, onConflictStrategy);
}