Updated on 2023-03-28 GMT+08:00

Opening a Collection

Prerequisites

You have logged in to a DDS DB instance, created a database, and created a collection in the database.

Procedure

  1. On the top menu bar, choose Database Management.
  2. On the displayed Objects tab page, choose Collections, locate the target collection, and click Open Collection in the Operation column.
  3. Set parameters Query, Projection, Sort, Limit, and Skip to query the documents in the current collection.

    On the JSON tab page, view the filtered documents. To facilitate viewing, DAS allows you to view the documents in Table and Tree mode.

    • Query: uses the query operator to specify the filter.
    • Projection: specifies the fields that matched with the query filter in the document to return.
    • Sort: defines the sorting order.
    • Limit: specifies the maximum number of documents that can be returned.
    • Skip: specifies the number of skipped documents.

  4. Click Create Document. On the displayed page, enter a valid JSON file and click Save.