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
Activity
- Latest release
- 7y ago
- Total releases
- 16
- Cadence
- ~daily
- Last 12 months
- 0
Details
- License
- ISC
- First release
- Dec 05, 2018
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
|