Realtime Database query
Optional
options: UseObjectValueOptions<Value>Options to configure how the object is fetched
converter
: Function to extract the desired data from the DataSnapshot. Similar to Firestore converters. Default: snap.val()
.
initialValue
: Value that is returned while the object is being fetched.
User, loading state, and error
undefined
if query is currently being fetched, or an error occurredtrue
while fetching the query; false
if the query was fetched successfully or an error occurredundefined
if no error occurred
Returns and updates the DataSnapshot of the Realtime Database query