load abstract method
Loads the data of the given OID. *
-
fields
- a collection of fields to load. If null, it means all.
- If the plugin doesn't support partial load, it can ignore
fields
. - Note: it shall return a Future carrying null if not found.
-
option
- an option for loading the entity.
- It is the option passed from load and loadIfAny.
- It can be application specific.
- You can ignore it if not supported.
- For SQL, it is better to supported
null
, forShare and forUpdate.
Implementation
FutureOr<Map?> load(Entity entity, Iterable<String>? fields, AccessOption? option);