Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
0c11f2f
feat(datastore): adds snapshot reads
telpirion Sep 27, 2022
36d2fd0
add unit test
telpirion Sep 27, 2022
7df213b
Merge branch 'main' into datastore-snapshot
telpirion Sep 28, 2022
5c4afa0
per linter
telpirion Sep 28, 2022
90d43a6
Merge branch 'main' into datastore-snapshot
telpirion Sep 28, 2022
f882e68
fixed unit test
telpirion Sep 28, 2022
417b9eb
Merge branch 'main' into datastore-snapshot
telpirion Sep 28, 2022
40df64d
Merge branch 'main' into datastore-snapshot
telpirion Sep 29, 2022
92d9df5
Merge branch 'main' into datastore-snapshot
telpirion Oct 7, 2022
a7fdf85
per reviewer
telpirion Oct 7, 2022
3ae157f
Merge branch 'main' into datastore-snapshot
telpirion Oct 7, 2022
5947de5
per reviewer
telpirion Oct 7, 2022
de1f888
iter
telpirion Oct 7, 2022
80e5b8d
unit tests
telpirion Oct 10, 2022
1cc3376
unit test
telpirion Oct 10, 2022
97d1235
Merge branch 'main' into datastore-snapshot
telpirion Oct 10, 2022
c8563aa
Merge branch 'main' into datastore-snapshot
telpirion Oct 10, 2022
28e57a0
fix test
telpirion Oct 10, 2022
464dfb7
Merge branch 'main' into datastore-snapshot
telpirion Oct 11, 2022
8d9625b
Merge branch 'main' into datastore-snapshot
telpirion Oct 12, 2022
ba0ab74
per reviewer
telpirion Oct 12, 2022
06ebe59
Merge branch 'main' into datastore-snapshot
telpirion Oct 13, 2022
6279db0
Merge branch 'main' into datastore-snapshot
telpirion Oct 17, 2022
22c400a
Merge branch 'main' into datastore-snapshot
telpirion Oct 18, 2022
4a8a9b2
per reviewer
telpirion Oct 18, 2022
71836ab
per reviewer
telpirion Oct 18, 2022
e704e9a
Merge branch 'main' into datastore-snapshot
telpirion Oct 18, 2022
cff5c69
Merge branch 'main' into datastore-snapshot
telpirion Oct 18, 2022
2df5eee
Merge branch 'main' into datastore-snapshot
telpirion Oct 19, 2022
33d3aa1
Merge branch 'main' into datastore-snapshot
telpirion Oct 20, 2022
db71173
fix
telpirion Oct 20, 2022
189d957
Merge branch 'main' into datastore-snapshot
telpirion Oct 24, 2022
ec3e532
appease the tests
telpirion Oct 24, 2022
9fbc168
Merge branch 'main' into datastore-snapshot
telpirion Oct 26, 2022
590fba5
Merge branch 'main' into datastore-snapshot
gcf-merge-on-green[bot] Oct 26, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
per reviewer
  • Loading branch information
telpirion committed Oct 7, 2022
commit 5947de5d054c07eb691bd60b654f0ee7cf7f4df2
3 changes: 2 additions & 1 deletion datastore/datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,8 @@ type readSettings struct {

// WithReadOptions specifies constraints for accessing documents from the database,
// e.g. at what time snapshot to read the documents.
// Once set, all subsequent reads from the client use these options.
// The client uses this value for subsequent reads, unless additional ReadOptions
// are provided.
func (c *Client) WithReadOptions(ro ...ReadOption) {
for _, r := range ro {
switch o := r.(type) {
Comment thread
telpirion marked this conversation as resolved.
Resolved
Expand Down
⌂ 换网址