Opening a Collection
This section describes how to view details about documents in a collection and create or delete documents on the DAS console.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and project.
- Click
in the upper left corner, and under Databases, click Data Admin Service.
- In the navigation pane on the left, choose Development Tool.
You can also click Go to Development Tool on the overview page.
- Locate the DB instance that you want to log in to and click Log In in the Operation column.
- On the top menu bar, choose Database Management.
- On the displayed Objects tab page, choose Collections, locate the target collection, and click Open Collection in the Operation column.
- On the displayed page, you can perform the following operations:
- Set parameters Query, Projection, Sort, Limit, and Skip to query the documents in the current collection.
Table 1 Parameter description Parameter
Description
Query
Uses a query operator to specify the filter.
Projection
Specifies fields that matched with the query filter in the document to return.
Sort
Defines the sorting rule.
Limit
Specifies the maximum number of documents that can be returned.
Skip
Specifies the number of skipped documents.
- On the JSON tab page, view filtered documents.
- To facilitate viewing, DAS allows you to view the documents in Table and Tree mode. You can view text files on the Tree and Table tab pages.
Figure 1 Opening a collection
- You can create, delete, and view documents.
- Set parameters Query, Projection, Sort, Limit, and Skip to query the documents in the current collection.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot