- 27 Sep, 2019 3 commits
-
-
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 3 commits
-
-
Steven Allen authored
filter: values are now always bytes
-
Steven Allen authored
-
Steven Allen authored
-
- 13 Apr, 2019 4 commits
-
-
Steven Allen authored
autobatch: batch deletes
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
part of fixing: https://github.com/libp2p/go-libp2p-kad-dht/issues/316#issuecomment-482753415
-
- 09 Apr, 2019 4 commits
-
-
Steven Allen authored
cleanup and optimize naive query filters
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
It's impossible to cancel this correctly. This patch also tries to avoid goroutines whenever possible.
-
- 06 Apr, 2019 1 commit
-
-
Steven Allen authored
-
- 23 Mar, 2019 1 commit
-
-
Steven Allen authored
Fix – sorted limited offset mount queries
-
- 22 Mar, 2019 1 commit
-
-
Michael Avila authored
-