@ctsy/model
> 封装的Sequelize作为数据库操作底层,对Sequelize的部分操作进行了简化,语法结构类似于ThinkPHP3.2结构。 需要依赖于 castle-config/castle-controller/sequelize,其它依赖请参见相关库的依然范围 # 典型基础用法 ```typescript //获取模型对象 let model = await this.M('Sex'); //启动事务 =1 await this.startTrans(); //添加数据 // INSERT INTO se
- Latest release
- Dec 28, 2021
- Releases
- 61
- Known CVEs
- 0
- First release
- Apr 15, 2019
- License
- ISC
Repository
Source
- Stars
- —
- Forks
- —
- Open issues
- —
Security score
No OpenSSF Scorecard available for this repository.
Packages from this repo
Insights
Activity
- Total releases
- 61
- Last 12 months
- 0
- Cadence
- ~daily
- Dependencies
- 4
Releases per month
last 12 monthsRelease mix
- major 1
- patch 59
61
releases
Dependencies
Depends on
2.0.47-
@ctsy/hook *
-
lodash *
-
mysql2 *
-
sequelize 6
Used by
3Releases
| Version | Released | |
|---|---|---|
2.0.47
patch
| ||
2.0.46
patch
| ||
2.0.45
patch
| ||
2.0.44
patch
| ||
2.0.43
patch
| ||
2.0.42
patch
| ||
2.0.41
patch
| ||
2.0.40
patch
| ||
2.0.39
patch
| ||
2.0.38
patch
| ||
2.0.37
patch
| ||
2.0.36
patch
| ||
2.0.35
patch
| ||
2.0.34
patch
| ||
2.0.32
patch
| ||
2.0.31
patch
| ||
2.0.30
patch
| ||
2.0.29
patch
| ||
2.0.28
patch
| ||
2.0.27
patch
|
1–20 of 61