__construct()
__construct(array $attributes = array())
Parameters
array | $attributes |
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 |