Query.Builder Class
A builder for constructing Query instances.
Rather than having to manually construct the options and instantiating a Query directly, this builder may be used.
var storeValue = new Query.Builder()
.withTable('table')
.withColumns(columns)
.withRows(rows)
.build();
Constructor
Query.Builder
()
Item Index
Methods
Methods
withCallback
(
chainable
-
callback
Set the callback to be executed when the operation completes.
Parameters:
-
callback
FunctionThe allback to be executed when the operation completes.
-
err
StringAn error message. Will be null if no error.
-
response
ObjectThe response from Riak
-
withQuery
(
chainable
-
query
Set the query text.
Parameters:
-
query
Stringthe timeseries query