Reference represents a specific location in your Database and can be used
for reading or writing data to that Database location.
You can reference the root or child location in your Database by calling
Writing is done with the
set() method and reading can be done with the
on() method. See
Read and Write Data on the Web
The last part of the
"ada" is the key for
The key of a root
The parent location of a
The parent of a root
Reference to the
Reference of the Database.
Referencefor the location at the specified relative path.
The relative path can either be a simple child name (for example, "ada") or a deeper slash-separated path (for example, "ada/name/first").
A relative path from this location to the desired child location.
The specified child location.
Querywith the specified ending point.
equalTo()allows you to choose arbitrary starting and ending points for your queries.
The ending point is inclusive, so children with exactly the specified value will be included in the query. The optional key argument can be used to further limit the range of the query. If it is specified, then children that have exactly the specified value must also have a key name less than or equal to the specified key.
You can read more about
endAt()in Filtering data.
value: number | string | boolean | null