value() публичный Метод

Get a single column's value from the first result of a query.
public value ( string $column ) : mixed
$column string
Результат mixed
Пример #1
0
 /**
  * Get a single column's value from the first result of a query.
  *
  * @param string $column
  * @return mixed 
  * @static 
  */
 public static function value($column)
 {
     return \Illuminate\Database\Eloquent\Builder::value($column);
 }
Пример #2
0
 /**
  * Pluck a field from the database
  *
  * @param  string $field
  * @return Collection
  */
 public function value($field)
 {
     $results = $this->builder->value($field);
     $this->newBuilder();
     return $results;
 }