Skip to content

Commit

Permalink
docs: elaborate on QuerySnapshot.forEach (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox committed Dec 6, 2018
1 parent 5627e79 commit a015d37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev/src/reference.ts
Expand Up @@ -777,7 +777,9 @@ export class QuerySnapshot {
}

/**
* Enumerates all of the documents in the QuerySnapshot.
* Enumerates all of the documents in the QuerySnapshot. This is a convenience
* method for running the same callback on each {@link QueryDocumentSnapshot}
* that is returned.
*
* @param {function} callback A callback to be called with a
* [QueryDocumentSnapshot]{@link QueryDocumentSnapshot} for each document in
Expand Down

0 comments on commit a015d37

Please sign in to comment.