getAndUpdate abstract method
Get and udpate data in storage
The retrieved data is associated to both the key
and queryParams
. The
data should also be updated with the provided lastUsedAt
datetime.
Implementation
Future<DatabaseData?> getAndUpdate(
String key,
QueryParams queryParams,
DateTime lastUsedAt,
);