Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

@flowxjs/typeorm

基于TypeService的ORM框架

Install

$ npm i @flowxjs/typeorm

Usage

import{TypeORM}from'@flowx/typeorm';constorm=newTypeORM(container);const[setBinding,setInitializer]=orm.useEntity(options);setBinding('MySQL');// 在container上绑定MySQL链接对象 通过 @inject('MySQL')来调用。setInitializer(asyncconn=>{});// 做初始化的事情

About

typeorm for typeservice

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages