Loading src/common/mixins/sqlite.py +2 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ class SQLiteMixin: def open(self): """Explicitly open the database connection :return: True if connection established, else False """ self.logger.debug("Opening Database Connection") Loading @@ -36,6 +37,7 @@ class SQLiteMixin: def query(self, query): """Query the database. :param query: A valid SQL statement to send to the database. :return: None if query's cursor does not have a description, otherwise return the results of using `fetchall()` """ Loading Loading
src/common/mixins/sqlite.py +2 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ class SQLiteMixin: def open(self): """Explicitly open the database connection :return: True if connection established, else False """ self.logger.debug("Opening Database Connection") Loading @@ -36,6 +37,7 @@ class SQLiteMixin: def query(self, query): """Query the database. :param query: A valid SQL statement to send to the database. :return: None if query's cursor does not have a description, otherwise return the results of using `fetchall()` """ Loading