Granada\Orm\Wrapper::pluck PHP Method

pluck() public method

Pluck a single column from the result.
public pluck ( string $column ) : mixed
$column string
return mixed
    public function pluck($column)
    {
        $result = $this->select($column)->find_one();
        if ($result) {
            return $result[$column];
        } else {
            return null;
        }
    }