(block-query-async db query-map)
(block-query-async db query-map opts)
Returns an asynchronous channel that eventually returns the results or an error.
Returns an asynchronous channel that eventually returns the results or an error.
(db conn ledger & [opts])
Returns a queryable database from the connection. No permissions applied - assumes root
Returns a queryable database from the connection. No permissions applied - assumes root
(history-query-async sources query-map)
(history-query-async sources query-map opts)
(monitor-tx conn ledger tid timeout-ms)
Monitors a database for a specific transaction id included in a block.
Returns a core async channel that will eventually contain a response, or will close after the timeout has expired.
Response may contain an exception, if the tx resulted in an exception.
Monitors a database for a specific transaction id included in a block. Returns a core async channel that will eventually contain a response, or will close after the timeout has expired. Response may contain an exception, if the tx resulted in an exception.
(multi-query-async sources multi-query-map)
(multi-query-async sources multi-query-map opts)
(multi-query-async sources multi-query-map opts db-fn)
Returns an asynchronous channel that eventually contains the result or an error.
The db function, required to evaluate prefixes/multiple sources, is passed as a parameter. This allows for the node.js version to override the default [fluree.db.api-js.db] with its own function.
Returns an asynchronous channel that eventually contains the result or an error. The db function, required to evaluate prefixes/multiple sources, is passed as a parameter. This allows for the node.js version to override the default [fluree.db.api-js.db] with its own function.
(query-async sources query-map)
(query-async sources query-map db-fn)
Execute an unsigned query against a database source, or optionally additional sources if the query spans multiple data sets. Returns a channel, where the results are eventually put.
The db function, to evaluate prefixes/multiple sources, is passed as a parameter. This allows for the node.js version to override the default [fluree.db.api-js.db] with its own function.
Execute an unsigned query against a database source, or optionally additional sources if the query spans multiple data sets. Returns a channel, where the results are eventually put. The db function, to evaluate prefixes/multiple sources, is passed as a parameter. This allows for the node.js version to override the default [fluree.db.api-js.db] with its own function.
(signed-query-async conn ledger query-map)
(signed-query-async conn ledger query-map opts)
Execute a signed query against a ledger.
Returns an asynchronous channel that eventually contains the results.
Execute a signed query against a ledger. Returns an asynchronous channel that eventually contains the results.
(transact-async conn ledger txn)
(transact-async conn ledger txn opts)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close