Commit 0f428380 authored by Grant's avatar Grant
Browse files

sqlite mixin added

parent 86bd6955
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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")
@@ -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()`
        """