history-tools icon indicating copy to clipboard operation
history-tools copied to clipboard

how to write a descend query in wasm-ql when I use rocksdb?

Open Tar-Palantir opened this issue 5 years ago • 3 comments

I read doc, demo code and src code, but I did't find a way to write a descend query. When people query his transfer records, he wants to see a list start from head block, so I need to provide a descend query. In doc, query parameter 'last' must greater than 'first', and I don't find other parameter can use to order query result. Please give me a help. thank you.

Tar-Palantir avatar Oct 21 '19 12:10 Tar-Palantir

descend isn't implemented yet

tbfleming avatar Oct 21 '19 13:10 tbfleming

descend isn't implemented yet

@tbfleming Thank you, and is that in plan? Should I find another way to implement or wait for the next version?

Tar-Palantir avatar Oct 22 '19 01:10 Tar-Palantir

We're working on a redesign of the whole history-tools system. Part of that is a different database structure that supports more flexible queries from within wasm.

tbfleming avatar Oct 22 '19 02:10 tbfleming