Skip to content

Commit 72e128f

Browse files
committed
Cloud Firestore --> Firestore
1 parent 274ae6c commit 72e128f

File tree

1 file changed

+10
-10
lines changed
  • firestore/android/FirestoreSnippetsCpp/app/src/main/cpp

1 file changed

+10
-10
lines changed

‎firestore/android/FirestoreSnippetsCpp/app/src/main/cpp/snippets.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
#include "firebase/util.h"
2727

2828
/*
29-
* A collection of code snippets for the Cloud Firestore C++ SDK. These snippets
30-
* were modelled after the existing Cloud Firestore guide, which can be found
29+
* A collection of code snippets for the Firestore C++ SDK. These snippets
30+
* were modelled after the existing Firestore guide, which can be found
3131
* here: https://firebase.google.com/docs/firestore.
3232
*
3333
* Note that not all of the Firestore API has been implemented yet, so some
@@ -70,8 +70,8 @@ void QuickstartAddData(firebase::firestore::Firestore* db) {
7070
using firebase::firestore::Error;
7171
using firebase::firestore::FieldValue;
7272

73-
// Cloud Firestore stores data in Documents, which are stored in Collections.
74-
// Cloud Firestore creates collections and documents implicitly the first time
73+
// Firestore stores data in Documents, which are stored in Collections.
74+
// Firestore creates collections and documents implicitly the first time
7575
// you add data to the document. You do not need to explicitly create
7676
// collections or documents.
7777

@@ -123,7 +123,7 @@ void QuickstartReadData(firebase::firestore::Firestore* db) {
123123
using firebase::firestore::FieldValue;
124124
using firebase::firestore::QuerySnapshot;
125125

126-
// To quickly verify that you've added data to Cloud Firestore, use the data
126+
// To quickly verify that you've added data to Firestore, use the data
127127
// viewer in the Firebase console.
128128
//
129129
// You can also use the "Get" method to retrieve the entire collection.
@@ -185,9 +185,9 @@ void AddDataDataTypes(firebase::firestore::Firestore* db) {
185185
using firebase::firestore::FieldValue;
186186
using firebase::firestore::MapFieldValue;
187187

188-
// Cloud Firestore lets you write a variety of data types inside a document,
188+
// Firestore lets you write a variety of data types inside a document,
189189
// including strings, booleans, numbers, dates, null, and nested arrays and
190-
// objects. Cloud Firestore always stores numbers as doubles, regardless of
190+
// objects. Firestore always stores numbers as doubles, regardless of
191191
// what type of number you use in your code.
192192
// [START data_types]
193193
MapFieldValue doc_data{
@@ -229,7 +229,7 @@ void AddDataAddDocument(firebase::firestore::Firestore* db) {
229229
// [END set_data]
230230

231231
// But sometimes there isn't a meaningful ID for the document, and it's more
232-
// convenient to let Cloud Firestore auto-generate an ID for you. You can do
232+
// convenient to let Firestore auto-generate an ID for you. You can do
233233
// this by calling Add():
234234
// [START add_document]
235235
db->Collection("cities").Add({/*some data*/});
@@ -411,7 +411,7 @@ void AddDataDeleteFields(firebase::firestore::Firestore* db) {
411411
// [END delete_field]
412412

413413
// https://firebase.google.com/docs/firestore/manage-data/delete-data#collections
414-
// To delete an entire collection or subcollection in Cloud Firestore,
414+
// To delete an entire collection or subcollection in Firestore,
415415
// retrieve all the documents within the collection or subcollection and
416416
// delete them.
417417
// WARNING: deleting collections from a client SDK is not recommended.
@@ -796,7 +796,7 @@ void ReadDataSimpleQueries(firebase::firestore::Firestore* db) {
796796
using firebase::firestore::FieldValue;
797797
using firebase::firestore::Query;
798798

799-
// Cloud Firestore provides powerful query functionality for specifying which
799+
// Firestore provides powerful query functionality for specifying which
800800
// documents you want to retrieve from a collection.
801801

802802
// The following query returns all cities with state CA:

0 commit comments

Comments
 (0)