Skip to content

MongocampDatabases ​

Read-only table of all databases on the running MongoCamp server: size, collection count, and empty status.

Usage ​

vue
<template>
  <MongocampDatabases />
</template>

Props ​

None.

Columns ​

ColumnDescription
DatabaseSortable, database name
Size (KB)Sortable, sizeOnDisk converted from bytes
CollectionsBadge with the collection count — fetched per database via listCollectionsByDatabase
EmptyBadge shown only when the database is empty

This component is read-only — there is no delete action. See useMongocampSystem for why deleteDatabase isn't wrapped.

Released under the MIT License.