putAllSync method

  1. @override
List<Id> putAllSync(
  1. List<OBJ> objects, {
  2. bool saveLinks = true,
})
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
List<Id> putAllSync(List<OBJ> objects, {bool saveLinks = true}) {
  return _isarCollection.putAllSync(objects, saveLinks: saveLinks);
}