Liking cljdoc? Tell your friends :D

clj-chrome-devtools.commands.indexed-db


clear-object-storeclj

(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:

KeyDescription
:security-originSecurity origin.
:database-nameDatabase name.
:object-store-nameObject 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.
sourceraw docstring

delete-databaseclj

(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:

KeyDescription
:security-originSecurity origin.
:database-nameDatabase name.
Deletes a database.

Parameters map keys:


  Key              | Description 
  -----------------|------------ 
  :security-origin | Security origin.
  :database-name   | Database name.
sourceraw docstring

disableclj

(disable)
(disable {:as params :keys []})
(disable connection {:as params :keys []})

Disables events from backend.

Disables events from backend.
sourceraw docstring

enableclj

(enable)
(enable {:as params :keys []})
(enable connection {:as params :keys []})

Enables events from backend.

Enables events from backend.
sourceraw docstring

request-dataclj

(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:

KeyDescription
:security-originSecurity origin.
:database-nameDatabase name.
:object-store-nameObject store name.
:index-nameIndex name, empty string for object store data requests.
:skip-countNumber of records to skip.
:page-sizeNumber of records to fetch.
:key-rangeKey range. (optional)

Return map keys:

KeyDescription
:object-store-data-entriesArray of object store data entries.
:has-moreIf 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.
sourceraw docstring

request-databaseclj

(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:

KeyDescription
:security-originSecurity origin.
:database-nameDatabase name.

Return map keys:

KeyDescription
:database-with-object-storesDatabase 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.
sourceraw docstring

request-database-namesclj

(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:

KeyDescription
:security-originSecurity origin.

Return map keys:

KeyDescription
:database-namesDatabase 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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close