public function pluck($column) { $result = $this->select($column)->find_one(); if ($result) { return $result[$column]; } else { return null; } }