Liking cljdoc? Tell your friends :D
ClojureScript only.

firebase-cljs.database.reference


FirebaseDatabaseReferencecljsprotocol

remove!cljs

(remove! _)
(remove! _ callback)

Removes the data at this Firebase location.

Removes the data at this Firebase location.

get-keycljs

(get-key _)

The key of a given reference.

The key of a given reference.

set-with-priority!cljs

(set-with-priority! _ val priority)
(set-with-priority! _ val priority callback)

Writes data to this Firebase location. Like set() but also specifies the priority for that data.

Writes data to this Firebase location. Like set() but also specifies the priority for that data.

get-parentcljs

(get-parent _)

The parent reference of a given reference.

The parent reference of a given reference.

on-disconnectcljs

(on-disconnect _)

Returns onDisconnect object.

Returns onDisconnect object.

transactioncljs

(transaction _ update)
(transaction _ update callback)
(transaction _ update callback locally)

Atomically modifies the data at this location.

Atomically modifies the data at this location.

get-rootcljs

(get-root _)

The root of a given reference.

The root of a given reference.

set!cljs

(set! _ val)
(set! _ val callback)

Writes data to this Firebase location.

Writes data to this Firebase location.

push!cljs

(push! _)
(push! _ val)
(push! _ val callback)

Generates a new child location using a unique key and returns a Firebase reference to it.

Generates a new child location using a unique key and returns a Firebase reference to it.

set-priority!cljs

(set-priority! _ priority)
(set-priority! _ priority callback)

Sets a priority for the data at this Firebase location.

Sets a priority for the data at this Firebase location.

get-childcljs

(get-child _ child)

Returns the child as a Reference.

Returns the child as a Reference.

update!cljs

(update! _ obj)
(update! _ obj callback)

Writes the enumerated children to this Firebase location.

Writes the enumerated children to this Firebase location.

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

× close