putAll method

  1. @override
Future<List<Id>> putAll(
  1. List<OBJ> objects
)
override

Insert or update a list of objects. Returns the list of ids of the new or updated objects.

If the objects have an non-final id property, it will be set to the assigned id. Otherwise you should use the returned ids to update the objects.

Implementation

@override
Future<List<Id>> putAll(List<OBJ> objects) {
  return _spanHelper.asyncWrapInSpan(
    'putAll',
    () {
      return _isarCollection.putAll(objects);
    },
    dbName: _dbName,
    collectionName: name,
  );
}