except TypeError:
return None
+ def get_fields(self):
+ """Returns all fields from FIELDS table."""
+
+ return [item[0] for item in self.conn.execute( \
+ "SELECT name FROM fields").fetchall()]
+
+
# operations with DATA table
def add_entry(self, entry):