(clear-object-store)
(clear-object-store {:as params
:keys [security-origin database-name object-store-name]})
(clear-object-store connection
{:as params
:keys [security-origin database-name object-store-name]})
Clears all entries from an object store.
Parameters map keys:
Key | Description |
---|---|
:security-origin | Security origin. |
:database-name | Database name. |
:object-store-name | Object store name. |
Clears all entries from an object store. Parameters map keys: Key | Description -------------------|------------ :security-origin | Security origin. :database-name | Database name. :object-store-name | Object store name.
(delete-database)
(delete-database {:as params :keys [security-origin database-name]})
(delete-database connection {:as params :keys [security-origin database-name]})
Deletes a database.
Parameters map keys:
Key | Description |
---|---|
:security-origin | Security origin. |
:database-name | Database name. |
Deletes a database. Parameters map keys: Key | Description -----------------|------------ :security-origin | Security origin. :database-name | Database name.
(disable)
(disable {:as params :keys []})
(disable connection {:as params :keys []})
Disables events from backend.
Disables events from backend.
(enable)
(enable {:as params :keys []})
(enable connection {:as params :keys []})
Enables events from backend.
Enables events from backend.
(request-data)
(request-data {:as params
:keys [security-origin database-name object-store-name index-name
skip-count page-size key-range]})
(request-data connection
{:as params
:keys [security-origin database-name object-store-name index-name
skip-count page-size key-range]})
Requests data from object store or index.
Parameters map keys:
Key | Description |
---|---|
:security-origin | Security origin. |
:database-name | Database name. |
:object-store-name | Object store name. |
:index-name | Index name, empty string for object store data requests. |
:skip-count | Number of records to skip. |
:page-size | Number of records to fetch. |
:key-range | Key range. (optional) |
Return map keys:
Key | Description |
---|---|
:object-store-data-entries | Array of object store data entries. |
:has-more | If true, there are more entries to fetch in the given range. |
Requests data from object store or index. Parameters map keys: Key | Description -------------------|------------ :security-origin | Security origin. :database-name | Database name. :object-store-name | Object store name. :index-name | Index name, empty string for object store data requests. :skip-count | Number of records to skip. :page-size | Number of records to fetch. :key-range | Key range. (optional) Return map keys: Key | Description ---------------------------|------------ :object-store-data-entries | Array of object store data entries. :has-more | If true, there are more entries to fetch in the given range.
(request-database)
(request-database {:as params :keys [security-origin database-name]})
(request-database connection {:as params :keys [security-origin database-name]})
Requests database with given name in given frame.
Parameters map keys:
Key | Description |
---|---|
:security-origin | Security origin. |
:database-name | Database name. |
Return map keys:
Key | Description |
---|---|
:database-with-object-stores | Database with an array of object stores. |
Requests database with given name in given frame. Parameters map keys: Key | Description -----------------|------------ :security-origin | Security origin. :database-name | Database name. Return map keys: Key | Description -----------------------------|------------ :database-with-object-stores | Database with an array of object stores.
(request-database-names)
(request-database-names {:as params :keys [security-origin]})
(request-database-names connection {:as params :keys [security-origin]})
Requests database names for given security origin.
Parameters map keys:
Key | Description |
---|---|
:security-origin | Security origin. |
Return map keys:
Key | Description |
---|---|
:database-names | Database names for origin. |
Requests database names for given security origin. Parameters map keys: Key | Description -----------------|------------ :security-origin | Security origin. Return map keys: Key | Description ----------------|------------ :database-names | Database names for origin.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close