update abstract method

Future? update(
  1. Entity entity,
  2. Map data,
  3. Iterable<String>? fields
)

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 in data
  • shall be stored.

Implementation

Future? update(Entity entity, Map data, Iterable<String>? fields);