File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
firestore/extend-with-functions/functions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ function writingData() {
133
133
134
134
function basicWildcard ( ) {
135
135
// [START basic_wildcard]
136
- // Listen for changes in all documents and all sub-collections
136
+ // Listen for changes in all documents in the 'users' collection
137
137
exports . useWildcard = functions . firestore
138
138
. document ( 'users/{userId}' )
139
139
. onWrite ( ( change , context ) => {
@@ -147,7 +147,7 @@ function basicWildcard() {
147
147
148
148
function multiWildcard ( ) {
149
149
// [START multi_wildcard]
150
- // Listen for changes in all documents and all subcollections
150
+ // Listen for changes in all documents in the 'users' collection and all subcollections
151
151
exports . useMultipleWildcards = functions . firestore
152
152
. document ( 'users/{userId}/{messageCollectionId}/{messageId}' )
153
153
. onWrite ( ( change , context ) => {
You can’t perform that action at this time.
0 commit comments