Returns a js/Promise that resolves to the multihash of the entry as a String.
Returns a js/Promise that resolves to the multihash of the entry as a String.
Takes an iterator as the argument and evaluates it, returns a vector of results.
Takes an iterator as the argument and evaluates it, returns a vector of results.
(eventlog orbitdb-instance {:keys [name address opts] :or {opts {}}})
Creates and opens an eventlog database. Takes an OrbitDB instance and a map with:
:name
(string): the database name
or
:address
(string): and IPFS address of an existing eventlog database,
:opts
: a map of options (see create-database
)
Returns a js/Promise resolving to the instance of the database.
Creates and opens an eventlog database. Takes an OrbitDB instance and a map with: `:name` (string): the database name or `:address` (string): and IPFS address of an existing eventlog database, `:opts`: a map of options (see `create-database`) Returns a js/Promise resolving to the instance of the database.
Takes an OrbitDB instance and a hash of the entry (string). Returns a map with the contents of that entry.
Takes an OrbitDB instance and a hash of the entry (string). Returns a map with the contents of that entry.
Returns an Array of Objects based on the map of options:
:gt
(string): Greater than, takes an item's hash.
:gte
(string): Greater than or equal to, takes an item's hash.
:lt
(string): Less than, takes an item's hash.
:lte
(string): Less than or equal to, takes an item's hash value.
:limit
(integer): Limiting the entries of result, defaults to 1, and -1 means all items.
:reverse
(boolean): If set to true will result in reversing the result.
Returns an Array of Objects based on the map of options: `:gt` (string): Greater than, takes an item's hash. `:gte` (string): Greater than or equal to, takes an item's hash. `:lt` (string): Less than, takes an item's hash. `:lte` (string): Less than or equal to, takes an item's hash value. `:limit` (integer): Limiting the entries of result, defaults to 1, and -1 means all items. `:reverse` (boolean): If set to true will result in reversing the result.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close