update abstract method
Updates the entity with the given OID into database. *
-
data
- the content of the entity. It might contain
- more fields than what are specified in
fields
. - And, these fields shall be ignored.
-
fields
- the fields to update. If null, all fields indata
- shall be stored.
Implementation
Future? update(Entity entity, Map data, Iterable<String>? fields);