Runs the built request and returns the value of the returned key as a
buffer, or null
if it isn't found.
catch implements Promiselike.catch()
Runs the built request and returns the raw response from etcd.
Returns whether the key exists.
Runs the built request and parses the returned key as JSON,
or returns null
if it isn't found.
maxCreateRevision sets the maximum create revision of keys to return.
maxModRevision sets the maximum modified revision of keys to return.
minCreateRevision sets the minimum create revision of keys to return.
minModRevision sets the minimum modified revision of keys to return.
Runs the built request, and returns the value parsed as a number. Resolves as NaN if the value can't be parsed as a number.
Returns the request op for this builder, used in transactions.
Sets the GRPC call options for this request.
revision is the point-in-time of the key-value store to use for the range.
serializable sets the range request to use serializable member-local reads.
Runs the built request and returns the value of the returned key as a
string, or null
if it isn't found.
then implements Promiselike.then()
Generated using TypeDoc
SingleRangeBuilder is a query builder that looks up a single key.