Sign in Sign up
npm

castle-model

> 封装的Sequelize作为数据库操作底层,对Sequelize的部分操作进行了简化,语法结构类似于ThinkPHP3.2结构。 需要依赖于 castle-config/castle-controller/sequelize,其它依赖请参见相关库的依然范围 # 典型基础用法 ```typescript //获取模型对象 let model = await this.M('Sex'); //启动事务 await this.startTrans(); //添加数据 await model.add({ UI

Latest release
Jan 09, 2019
Releases
16
Known CVEs
0
First release
Dec 05, 2018
License
ISC
View on Npm
Repository

Source

yancastle/castle-model
Stars
Forks
Open issues

Security score

No OpenSSF Scorecard available for this repository.

Packages from this repo

Insights

Activity

Total releases
16
Last 12 months
0
Cadence
~daily
Dependencies
2

Releases per month

last 12 months

Release mix

  • patch 15
16 releases
Dependencies

Depends on

1.0.15

Used by

2
Releases
Version Released
1.0.15 patch
1.0.14 patch
1.0.13 patch
1.0.12 patch
1.0.11 patch
1.0.10 patch
1.0.9 patch
1.0.8 patch
1.0.7 patch
1.0.6 patch
1.0.5 patch
1.0.4 patch
1.0.3 patch
1.0.2 patch
1.0.1 patch
1.0.0 initial