mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-08 23:08:19 -05:00
feat(cli): Allow walking a range of an MDBX table using db mdbx get (#20233)
This commit is contained in:
@@ -6,7 +6,7 @@ Gets the content of a database table for the given key
|
||||
$ op-reth db get mdbx --help
|
||||
```
|
||||
```txt
|
||||
Usage: op-reth db get mdbx [OPTIONS] <TABLE> <KEY> [SUBKEY]
|
||||
Usage: op-reth db get mdbx [OPTIONS] <TABLE> <KEY> [SUBKEY] [END_KEY] [END_SUBKEY]
|
||||
|
||||
Arguments:
|
||||
<TABLE>
|
||||
@@ -18,6 +18,12 @@ Arguments:
|
||||
[SUBKEY]
|
||||
The subkey to get content for
|
||||
|
||||
[END_KEY]
|
||||
Optional end key for range query (exclusive upper bound)
|
||||
|
||||
[END_SUBKEY]
|
||||
Optional end subkey for range query (exclusive upper bound)
|
||||
|
||||
Options:
|
||||
--raw
|
||||
Output bytes instead of human-readable decoded value
|
||||
|
||||
@@ -6,7 +6,7 @@ Gets the content of a database table for the given key
|
||||
$ reth db get mdbx --help
|
||||
```
|
||||
```txt
|
||||
Usage: reth db get mdbx [OPTIONS] <TABLE> <KEY> [SUBKEY]
|
||||
Usage: reth db get mdbx [OPTIONS] <TABLE> <KEY> [SUBKEY] [END_KEY] [END_SUBKEY]
|
||||
|
||||
Arguments:
|
||||
<TABLE>
|
||||
@@ -18,6 +18,12 @@ Arguments:
|
||||
[SUBKEY]
|
||||
The subkey to get content for
|
||||
|
||||
[END_KEY]
|
||||
Optional end key for range query (exclusive upper bound)
|
||||
|
||||
[END_SUBKEY]
|
||||
Optional end subkey for range query (exclusive upper bound)
|
||||
|
||||
Options:
|
||||
--raw
|
||||
Output bytes instead of human-readable decoded value
|
||||
|
||||
Reference in New Issue
Block a user