-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add db.getMany(keys)
across the board
#101
Comments
Ref Level/community#101 Also adds the abstract-leveldown test suite. This works thanks to the `encodings` option that was added to the test suite (originally for `levelup` compatibility testing) and changes the expected outputs (from buffers by default to strings by default).
I'll try with the rockdb port to help out if no one was already doing it. I also need to check the typings on DT as they're broken after the 'default' export removals. So I'll start adding getMany at same time. |
Go for it, thanks! Note that on rocksdb we must first port Level/leveldown#783, Level/leveldown#784, Level/leveldown#785 (in that order), and then Level/leveldown#787. |
Just asking, do you plan to use the rocksdb's native |
I would prefer that we don't, because it will increase the code diff between |
That is what I was looking to do...
... but I guess not. :D I don't think I know enough to do it tbh: the low-hanging method I was targetting to call: virtual std::vector<Status> MultiGet(const ReadOptions& options,
const std::vector<Slice>& keys,
std::vector<std::string>* values) { has the comment:
So:
Probably makes sense to just do all cherry picking for now. |
@vweevers @MeirionHughes Just confirming anyone of you are going to implementing this for rocksdb? Just eager to try the new interface :) |
Types are still missing |
Background: Level/abstract-leveldown#380 and Level/levelup#491.
level-supports
: Add features: getMany, keyIterator, valueIterator, iteratorNextv, iteratorAll supports#11 (2.0.1)abstract-leveldown
: Adddb.getMany(keys)
abstract-leveldown#381 (7.2.0)leveldown
: Adddb.getMany(keys)
leveldown#787 (6.1.0)memdown
: Adddb.getMany(keys)
memdown#212 (6.1.0)level-js
: Adddb.getMany(keys)
level-js#214 (6.1.0)deferred-leveldown
: Adddb.getMany(keys)
deferred-leveldown#89 (7.0.0)encoding-down
: Adddb.getMany(keys)
encoding-down#102 (7.1.0)levelup
: Adddb.getMany(keys)
levelup#725 (5.1.0)subleveldown
: Adddb.getMany(keys)
subleveldown#107 (6.0.0)multileveldown
: Level/multileveldown@ff1ba48 (5.0.0)level-party
: 5.1.0level-mem
: 6.0.0level
: Document new features level#207rocksdb
: Add db.getMany(keys) rocksdb#184 (5.2.0)I moved this remaining item to Sync README withlevel-rocksdb
: just docslevel
level-rocksdb#75The text was updated successfully, but these errors were encountered: