Commit 6a5a4e9a authored by MacFarland's avatar MacFarland
Browse files

Merge branch 'multi_database_with_auth' of...

Merge branch 'multi_database_with_auth' of code.ornl.gov:nset-utilities/common-package into multi_database_with_auth
parents f65b6ccb 0f428380
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()`
        """