Skip to content

Commit

Permalink
Create QueryFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Jul 29, 2019
1 parent af62c14 commit 40af194
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/database_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ def execute_query(self):
self.commit_changes()


class QueryFilter(ABC):
@abstractmethod
def apply_filter(self, query):
pass

def insert_row_into_table(row):
"""
Insert the given row into its table
Expand Down

0 comments on commit 40af194

Please sign in to comment.