リクエストしたページは現在、お客様の言語ではご利用いただけません。ページの下部で別の言語を選択できます。または、どのウェブページでも、Google Chrome の翻訳機能を使ってその場でお好みの言語に翻訳できます。

Manage data

In Cloud Firestore, you store data in documents and organize your documents into collections. Before you start adding data, learn more about the Cloud Firestore data model.

To add, edit, and delete documents and collections from the Firebase console, open the Data tab in the Database section:

Add data

  1. Click Add collection, then enter your collection name and click Next.
  2. Enter a specific document ID or click Auto ID, then add fields for the data in your document.
  3. Click Save. Your new collection and document appear in the data viewer.
  4. To add more documents to the collection, click Add document.

Edit data

  1. Click on a collection to view its documents, then click on a document to view its fields and subcollections.
  2. Click on a field to edit its value. To add fields or subcollections to the selected document, click Add field or Add collection.

Delete data

To delete a collection:

  1. Select the collection you want to delete.
  2. Click the menu icon at the top of the documents column, then click Delete collection.

Click Delete collection from the menu in the documents column

To delete a document or all of its fields:

  1. Select the document you want to delete.
  2. Click the menu icon at the top of the document details column. Select Delete document or Delete document fields.

Deleting a document deletes all of the nested data in that document, including any subcollections. However, deleting a document's fields does not delete its subcollections.

Click Delete document or Delete document fields from the context menu in the document details column

To delete a specific field in a document:

  1. Select the document to view its fields.
  2. Click the delete icon beside the field you want to delete.

Click the delete icon to remove a field from a document

この情報は役に立ちましたか?

改善できる点がありましたらお聞かせください。
Search
Clear search
Close search
Main menu
6918713792219718035
true
ヘルプセンターを検索
true
true
true
true
true
5054967
false
false