$table
$table : string
getOne( $where, array<mixed,string> $columns = array('*')) : \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Query\Builder|object|null
todo:根据条件查询数据
$where | ||
array<mixed,string> | $columns |
getResult( $table, $where, array<mixed,string> $columns = array('*')) : \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Query\Builder|object|null
todo:获取一条记录
$table | ||
$where | ||
array<mixed,string> | $columns |