Skip to content

Commit 67581b8

Browse files
docs(firestore): update read data guide
1 parent 7d9a193 commit 67581b8

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docs/guide/firestore.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ the collection named ``Movies``, use ``set()`` method.
5656
Read Data
5757
---------
5858

59-
To read data from an existing document of an collection, use ``get()`` method.
59+
To read data from an existing document ``Movies`` of the collection
60+
``Marvels``, use ``get()`` method.
6061

6162
.. code-block:: python
6263
@@ -77,6 +78,19 @@ It is possible to filter the data of an document to receive specific fields.
7778
7879

7980

81+
To fetch data regarding all existing document (document ID and the data
82+
it contains) of an collection ``Marvels``, use ``get()`` method.
83+
84+
.. code-block:: python
85+
86+
fsdb.collection('Marvels').get()
87+
..
88+
89+
.. note::
90+
The ``get()`` method use after ``collection()`` method and
91+
``document()`` method are **NOT SAME**. They both accept and
92+
return different type of values.
93+
8094
Update Data
8195
-----------
8296

0 commit comments

Comments
 (0)