putAllSync abstract method

List<Id> putAllSync(
  1. List<OBJ> objects, {
  2. bool saveLinks = true,
})

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

List<Id> putAllSync(List<OBJ> objects, {bool saveLinks = true});