LMongo\Query\Builder::pluck PHP 메소드

pluck() 공개 메소드

Pluck a single column from the database.
public pluck ( string $column ) : mixed
$column string
리턴 mixed
    public function pluck($column)
    {
        $result = (array) $this->first(array($column));
        return count($result) > 0 ? reset($result) : null;
    }
Builder