public updateByColumn ( integer $val, array $data, string $column = null, string $tableName = null, mixed $tablePrefix = null ) : boolean | ||
$val | integer | 字段值 |
$data | array | 更新的数据 |
$column | string | 字段名 不传会自动分析表结构获取主键 |
$tableName | string | 表名 不传会自动从当前Model中$table属性获取 |
$tablePrefix | mixed | 表前缀 不传会自动从当前Model中$tablePrefix属性获取再没有则获取配置中配置的前缀 |
return | boolean |