/** * Find a model by its primary key. * * @param mixed $id * @param array $columns * @return LMongo\Eloquent\Model */ public function find($id, $columns = array()) { $this->query->where($this->model->getKeyName(), $id); return $this->first($columns); }