(get-app _)The App associated with the Database service instance.
The App associated with the Database service instance.
(get-ref _)(get-ref _ path)Returns a reference to the root or the specified path.
Returns a reference to the root or the specified path.
(get-ref-url _)(get-ref-url _ url)Returns a reference to the root or the path specified in url. An exception is thrown if the url is not in the same domain as the current database.
Returns a reference to the root or the path specified in url. An exception is thrown if the url is not in the same domain as the current database.
(offline _)Disconnect from the server (all database operations will be completed offline).
Disconnect from the server (all database operations will be completed offline).
(online _)(Re)connect to the server and synchronize the offline database state with the server state.
(Re)connect to the server and synchronize the offline database state with the server state.
(korks->path korks)(listen-once _ type callback)(listen-once _ korks type callback)Listen to reference event 'type' once.
Listen to reference event 'type' once.
(remove! _)(remove! _ callback)Remove reference.
Remove reference.
(listen-promise _ type callback)(listen-promise _ korks type callback)Listen to a promise reference by event 'type'.
Listen to a promise reference by event 'type'.
(merge! _ obj)(merge! _ obj callback)Merge object into reference.
Merge object into reference.
(conj! _ val)(conj! _ val callback)Conjoin value onto reference.
Conjoin value onto reference.
(reset! _ val)(reset! _ val callback)Set a reference value. Accepts reference and promises.
Set a reference value. Accepts reference and promises.
(swap! _ fn)(swap! _ fn callback)Swap a reference value. Accepts reference and promises.
Swap a reference value. Accepts reference and promises.
(disable-listener! _ event)(disable-listener! _ event callback)Disable listener by event (or event and callback).
Disable listener by event (or event and callback).
(listen _ type callback)(listen _ korks type callback)(listen _ korks type callback failure)Listen to reference by event 'type'.
Listen to reference by event 'type'.
(get-in _ korks)Get child reference as input type.
Get child reference as input type.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |