LMongo\Query\Builder::pluck PHP Method

pluck() public method

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