- 22 Nov, 2019 4 commits
-
-
Michael Muré authored
-
Michael Muré authored
-
Michael Muré authored
query: allow to always request the size alongside KeysOnly, allow impl to always return the size if no perf cost
-
Michael Muré authored
Rational is that some datastore can easilty get the size of a value when listing only keys, so we might as well have a way to pass that. One way this could be useful is when implementing a cache for Has/GetSize.
-
- 11 Nov, 2019 2 commits
-
-
Steven Allen authored
Add clarifying comments on Query#String()
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
-
- 01 Oct, 2019 3 commits
-
-
Steven Allen authored
Add a large test suite
-
Steven Allen authored
-
Steven Allen authored
-
- 27 Sep, 2019 6 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
Make it possible to print datastore queries.
-
- 26 Sep, 2019 2 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
- 19 Sep, 2019 2 commits
-
-
Steven Allen authored
doc: add a lead maintainer
-
Steven Allen authored
-
- 29 Aug, 2019 3 commits
-
-
Steven Allen authored
feat: make not-found errors discoverable
-
Steven Allen authored
-
Steven Allen authored
Now we just need a common place to put: func IsNotFound(e error) bool { for e != nil { if ne, ok := e.(interface { NotFound() bool }); ok { return ne.NotFound() } if ue, ok := e.(interface { Unwrap() error }); ok { e = ue.Unwrap() } else { return false } } return false }
-
- 21 Aug, 2019 2 commits
-
-
Steven Allen authored
feat: make delete idempotent
-
Steven Allen authored
fixes #104
-
- 30 Jun, 2019 3 commits
-
-
Jakub Sztandera authored
Misc Typo Fixes
-
postables authored
-
postables authored
-
- 19 Apr, 2019 2 commits
-
-
Steven Allen authored
MapDatastore: obey KeysOnly
-
Steven Allen authored
fix the keytransform datastore's query implementation
-
- 18 Apr, 2019 9 commits
-
-
Steven Allen authored
We use this datastore in tests all the time so it should match the behavior of _actual_ datastores as much as possible.
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
The namespace Datastore shouldn't have to touch the mess with the query. Note: this _also_ correctly applies ordering, filters, etc. to the transformed keys (in both the namespaced and the key transform datastores).
-
Steven Allen authored
Motivation: I want to be able to use the concrete type from a different package but I can't. This: 1. Exports the concrete datastore type and avoids returning private types from public functions. 2. Removes the mostly useless ktds interface. Unfortunately, it collides with the idiomatic name for the datastore itself. This could break something referencing the `ktds.Datastore` type but nothing is doing that.
-
Steven Allen authored
sync: apply entire query while locked
-
- 17 Apr, 2019 2 commits
-
-
Steven Allen authored
filter: values are now always bytes
-
Steven Allen authored
-