Delete snapshots — all devices if deviceId is omitted.
OptionaldeviceId: stringRelease connection pool / client.
Return snapshots for a device, newest first.
Optionallimit: numberReturn the most-recent snapshot for a device, or null.
Initialise the store (create tables / indices if needed).
Persist a snapshot and return the full record with its generated id.
Number of unique device IDs currently stored.
Async version of the storage interface for adapters backed by network-based databases (PostgreSQL, Redis).