# @flowxjs/typeorm

> typeorm for typeservice

Latest version **1.0.0** (published 2020-05-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @flowxjs/typeorm
pnpm add @flowxjs/typeorm
yarn add @flowxjs/typeorm
bun add @flowxjs/typeorm
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-05-17 |
| First published | 2020-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 (+4 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | cevio |
| Maintainers | evio |
| Keywords | typeorm, typeservice |

## Links

- npm: https://www.npmjs.com/package/@flowxjs/typeorm
- Repository: https://github.com/flowxjs/TypeServiceORM
- Homepage: https://github.com/flowxjs/TypeServiceORM#readme
- Issues: https://github.com/flowxjs/TypeServiceORM/issues
- npm.io page: https://npm.io/package/@flowxjs/typeorm

## Dependencies (2)

- [typeorm](https://npm.io/package/typeorm.md) ^0.2.24
- [@flowx/container](https://npm.io/package/@flowx/container.md) ^1.0.3

## Alternatives

- [@libsql/sqlite3](https://npm.io/package/@libsql/sqlite3.md) — 39.8K weekly downloads
- [@fortemi/core](https://npm.io/package/@fortemi/core.md) — 461 weekly downloads
- [cdb-converter](https://npm.io/package/cdb-converter.md) — 341 weekly downloads
- [@uplo/adapter-prisma](https://npm.io/package/@uplo/adapter-prisma.md) — 75 weekly downloads
- [typeorm-aios](https://npm.io/package/typeorm-aios.md) — 30 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-05-17

## README

# @flowxjs/typeorm

基于TypeService的ORM框架

## Install

```bash
$ npm i @flowxjs/typeorm
```

## Usage

```ts
import { TypeORM } from '@flowx/typeorm';
const orm = new TypeORM(container);

const [setBinding, setInitializer] = orm.useEntity(options);

setBinding('MySQL'); // 在container上绑定MySQL链接对象 通过 @inject('MySQL')来调用。
setInitializer(async conn => {}); // 做初始化的事情
```

---
_Source: https://npm.io/package/@flowxjs/typeorm · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
