Skip to content

Commit c415586

Browse files
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 <james@jamesdaniels.net>
1 parent 5eccebc commit c415586

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/compat/firestore/collections.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Each *document* contains a set of key-value pairs. Cloud Firestore is optimized
77
88
## Using `AngularFirestoreCollection`
99

10-
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()`.
10+
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()`.
1111

1212
```ts
1313
import { Component } from '@angular/core';

docs/compat/firestore/querying-collections.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# 4. Querying Collections in AngularFirestore
22

33
> 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.
4-
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.
4+
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.
55

66
> **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).
77
88
## Creating a query with primitive/scalar values
99

10-
Queries are created by building on the [`firebase.firestore.CollectionReference`](https://firebase.google.com/docs/reference/js/firebase.firestore.CollectionReference).
10+
Queries are created by building on the [`firebase.firestore.CollectionReference`](https://firebase.google.com/docs/reference/js/v8/firebase.firestore.CollectionReference).
1111

1212
```ts
1313
afs.collection('items', ref => ref.where('size', '==', 'large'))

site/src/firestore/collections.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Each *document* contains a set of key-value pairs. Cloud Firestore is optimized
1212

1313
## Using `AngularFirestoreCollection`
1414

15-
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()`.
15+
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()`.
1616

1717
```ts
1818
import { Component } from '@angular/core';

0 commit comments

Comments
 (0)