Skip to main content

Command: Get

Get the value of key from the persistent durable storage. If the key does not exist null is returned.

set `config/limits/max-connections` 1000
r0 set 9ms

get `config/limits/max-connections`
r0 1000 7ms

Get Revision

Passing the AT modifier allows to retrieve the value of a specific revision:

set `config/limits/max-connections` 1000
r0 set 9ms

get `config/limits/max-connections`
r0 1000 7ms

set `config/limits/max-connections` 500
r1 set 11ms

set `config/limits/max-connections` 200
r2 set 11ms

get `config/limits/max-connections`
r2 200 8ms

get `config/limits/max-connections` at 0
r0 1000 9ms

get `config/limits/max-connections` at 1
r1 500 8ms

Check the revisions section for more information about how they work.