From c415586a1f50a3399fb4a14a1365ac1823619e41 Mon Sep 17 00:00:00 2001 From: Sasidharan SD <47988127+sasidharansd@users.noreply.github.com> Date: Tue, 14 May 2024 20:53:52 +0530 Subject: [PATCH] docs: update firestore query api link and collection reference link(#3408) (#3412) * docs: update firestore query api link(#3408) docs: update firestore query api link(#3408) * docs: update collection reference link(#3408) * Update collections.md --------- Co-authored-by: James Daniels --- docs/compat/firestore/collections.md | 2 +- docs/compat/firestore/querying-collections.md | 4 ++-- site/src/firestore/collections.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/compat/firestore/collections.md b/docs/compat/firestore/collections.md index 4b6dbd1e5..709a969c5 100644 --- a/docs/compat/firestore/collections.md +++ b/docs/compat/firestore/collections.md @@ -7,7 +7,7 @@ Each *document* contains a set of key-value pairs. Cloud Firestore is optimized ## Using `AngularFirestoreCollection` -The `AngularFirestoreCollection` service is a wrapper around the native Firestore SDK's [`CollectionReference`](https://firebase.google.com/docs/reference/js/firebase.firestore.CollectionReference) and [`Query`](https://firebase.google.com/docs/reference/js/firebase.firestore.Query) types. It is a generic service that provides you with a strongly typed set of methods for manipulating and streaming data. This service is designed for use as an `@Injectable()`. +The `AngularFirestoreCollection` service is a wrapper around the native Firestore SDK's [`CollectionReference`](https://firebase.google.com/docs/reference/js/v8/firebase.firestore.CollectionReference) and [`Query`](https://firebase.google.com/docs/reference/js/v8/firebase.firestore.Query) types. It is a generic service that provides you with a strongly typed set of methods for manipulating and streaming data. This service is designed for use as an `@Injectable()`. ```ts import { Component } from '@angular/core'; diff --git a/docs/compat/firestore/querying-collections.md b/docs/compat/firestore/querying-collections.md index 0ea89a071..a3779a43a 100644 --- a/docs/compat/firestore/querying-collections.md +++ b/docs/compat/firestore/querying-collections.md @@ -1,13 +1,13 @@ # 4. Querying Collections in AngularFirestore > Firestore has [powerful querying syntax](https://firebase.google.com/docs/firestore/query-data/queries) and the `AngularFirestoreCollection` provides a thin wrapper around it. This keeps you from having to learn two query syntax systems. -If you know the [Firestore query API](https://firebase.google.com/docs/reference/js/firebase.firestore.Query) then you know how to query in AngularFirestore. +If you know the [Firestore query API](https://firebase.google.com/docs/reference/js/v8/firebase.firestore.Query) then you know how to query in AngularFirestore. > **NOTE**: [AngularFire has a new tree-shakable API](../../../README.md#developer-guide), you're looking at the documentation for the compatability version of the library. [See the v7 upgrade guide for more information on this change.](../../version-7-upgrade.md). ## Creating a query with primitive/scalar values -Queries are created by building on the [`firebase.firestore.CollectionReference`](https://firebase.google.com/docs/reference/js/firebase.firestore.CollectionReference). +Queries are created by building on the [`firebase.firestore.CollectionReference`](https://firebase.google.com/docs/reference/js/v8/firebase.firestore.CollectionReference). ```ts afs.collection('items', ref => ref.where('size', '==', 'large')) diff --git a/site/src/firestore/collections.md b/site/src/firestore/collections.md index 9ba924277..c993d77de 100644 --- a/site/src/firestore/collections.md +++ b/site/src/firestore/collections.md @@ -12,7 +12,7 @@ Each *document* contains a set of key-value pairs. Cloud Firestore is optimized ## Using `AngularFirestoreCollection` -The `AngularFirestoreCollection` service is a wrapper around the native Firestore SDK's [`CollectionReference`](https://firebase.google.com/docs/reference/js/firebase.firestore.CollectionReference) and [`Query`](https://firebase.google.com/docs/reference/js/firebase.firestore.Query) types. It is a generic service that provides you with a strongly typed set of methods for manipulating and streaming data. This service is designed for use as an `@Injectable()`. +The `AngularFirestoreCollection` service is a wrapper around the native Firestore SDK's [`CollectionReference`](https://firebase.google.com/docs/reference/js/v8/firebase.firestore.CollectionReference) and [`Query`](hhttps://firebase.google.com/docs/reference/js/v8/firebase.firestore.Query) types. It is a generic service that provides you with a strongly typed set of methods for manipulating and streaming data. This service is designed for use as an `@Injectable()`. ```ts import { Component } from '@angular/core';