Skip to content

Commit 859a865

Browse files
rachelsaunderslaurenzlong
authored andcommitted
docs(firestore-bigquery-export) Add Firestore reference type to supported types in schema-views script instructions (#164)
1 parent 33afc55 commit 859a865

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

firestore-bigquery-export/guides/GENERATE_SCHEMA_VIEWS.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ Each `fields` array must contain _at least one_ of the following types:
226226
- `number`
227227
- `timestamp`
228228
- `geopoint`
229+
- `reference`
229230
- `null`
230231
231232
These types correspond with Cloud Firestore's
@@ -344,6 +345,10 @@ exception of `map` and `array`, the type conversion scheme is as follows:
344345
<td>geopoint</td>
345346
<td>GEOGRAPHY</td>
346347
</tr>
348+
<tr>
349+
<td>reference</td>
350+
<td>STRING<br>(containing the path to the referenced document)</td>
351+
</tr>
347352
<tr>
348353
<td>null</td>
349354
<td>NULL</td>
@@ -360,7 +365,7 @@ ignored by the schema-views script.
360365
361366
#### Cloud Firestore arrays
362367
363-
Review [this example](https://github.com/firebase/extensions/blob/master/firestore-bigquery-export/guides/EXAMPLE_QUERIES.md) for querying an array.
368+
Review [these examples](https://github.com/firebase/extensions/blob/master/firestore-bigquery-export/guides/EXAMPLE_QUERIES.md#example-queries-for-an-array) for querying an array.
364369
365370
Cloud Firestore arrays are
366371
[unnested](https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#unnest),

0 commit comments

Comments
 (0)