exactStaleness property

String? exactStaleness
getter/setter pair

Executes all reads at a timestamp that is exact_staleness old.

The timestamp is chosen soon after the read is started. Guarantees that all writes that have committed more than the specified number of seconds ago are visible. Because Cloud Spanner chooses the exact timestamp, this mode works even if the client's local clock is substantially skewed from Cloud Spanner commit timestamps. Useful for reading at nearby replicas without the distributed timestamp negotiation overhead of max_staleness.

Implementation

core.String? exactStaleness;