mongodb-cols
Enumerate all collections in MongoDB database.
mongodb-cols [profile=PROFILE] [database=DATABASE]
- profile=PROFILE
- Connect profile code of MongoDB.
- database=DATABASE
- 필터링 대상 데이터베이스 이름
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| db_name | String | Database name | The name of the database to which the collection belongs. |
| name | String | Name | Collection name. |
| type | String | Type | e.g. collection. |
| option | Map | Option | Collection configure options. e.g. size, capped. |
| id_index | Map | ID index | _id index specification. |