---
symbol: getDatabase
module: "@tsed/cli-plugin-typeorm"
type: function
meta:
 - name: keywords
   description: api typescript node.js documentation getDatabase function
---
# getDatabase - @tsed/cli-plugin-typeorm

## Usage

```typescript
import { getDatabase } from "@tsed/cli-plugin-typeorm/src/utils/getTypeORMDatabases";
```

> See [/packages/cli-plugin-typeorm/src/utils/getTypeORMDatabases.ts](https://github.com/tsedio/tsed-cli/blob/v7.5.1/packages/cli-plugin-typeorm/src/utils/getTypeORMDatabases.ts#L0-L0).

## Overview

```ts
function getDatabase(data: GenerateCmdContext): CliDatabases | undefined;
```
