Skip to content

Add a snippet demonstrating a stale read. #1271

@jlara310

Description

@jlara310

We need a Firestore snippet that demonstrates how to set read options to perform a stale read. A stale read can improve latency for request that don't require strong consistency.

File to update:

https://github.com/googleapis/java-firestore/blob/main/samples/snippets/src/main/java/com/example/firestore/snippets/ManageDataSnippets.java

Metadata

Metadata

Assignees

Labels

api: firestoreIssues related to the googleapis/java-firestore API.documentationImprovements or additions to documentationtype: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions