public function getOne($id) { return $this->db->fetchAssoc("SELECT * FROM notes WHERE id=?", [(int) $id]); }