deleteSequence()
deleteSequence(string $sequence, string $type = 'SYSTEM') : boolean
删除指定序号
Parameters
| string | $sequence | |
| string | $type |
Throws
- \think\Exception
- \think\exception\PDOException
基础数据服务 Class DataService
save(\think\db\Query|string $dbQuery, array $data, string $key = 'id', array $where = array()) : boolean
数据增量保存
| \think\db\Query|string | $dbQuery | 数据查询对象 |
| array | $data | 需要保存或更新的数据 |
| string | $key | 条件主键限制 |
| array | $where | 其它的where条件 |
update(\think\db\Query|string $dbQuery, array $where = array()) : boolean|null
更新数据表内容
| \think\db\Query|string | $dbQuery | 数据查询对象 |
| array | $where | 额外查询条件 |