newDb = {}} on:newCollection={() => newColl = {}} on:editHost={e => editHost(e.detail)} on:renameCollection={e => openEditCollModal(e.detail)} on:exportCollection={e => exportCollection(e.detail)} on:dumpCollection={e => dumpCollection(e.detail)} />
{#if newDb}

Create a database

Note: databases in MongoDB do not exist until they have a collection and an item. Your new database will not persist on the server; fill it to have it created.

{/if} {#if newColl}

Create a collection

Note: collections in MongoDB do not exist until they have at least one item. Your new collection will not persist on the server; fill it to have it created.

{/if} {#if collToRename}
Renaming collection {collToRename}
{/if}