﻿---
sidebar_position: 3
description: Drop database and other functions to work with MongoDB in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, MongoDB]
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Drop database
 Deletes the database



`Function DeleteDatabase(Val Connection, Val Base = Undefined) Export`

  | Parameter | CLI option | Type | Required | Description |
  |-|-|-|-|-|
  | Connection | --dbc | String, Arbitrary | &#x2714; | Connection or connection string |
  | Base | --db | String | &#x2716; | Database name. Current database if not specified |

  
  Returns:  Map Of KeyAndValue - Operation result

<br/>




 




