The unified diff between revisions [d1300337..] and [48ba9497..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'Store.py'
# # # patch "Store.py" # from [46cf7b359d6a697fe15821fb006bb617648afbe1] # to [8e9a432a290abbfc9667db4638df747ff9c4de6a] # ============================================================ --- Store.py 46cf7b359d6a697fe15821fb006bb617648afbe1 +++ Store.py 8e9a432a290abbfc9667db4638df747ff9c4de6a @@ -2,7 +2,40 @@ # # Abstraction around shelves / data stores used by Fourstar +# +# provides an abstraction to arbitary store backend +# +# Store as a shelf + + +import sqlite3 + class Store: def __init__(self): + self.file = None + self.db = None + self.cursor = None + self.store = None pass + + def create(self,file): + pass + + def connect(self,file): + pass + + def check_schema(self): + pass + + def status(self): + pass + +# + + +# is there any reason why this needs to abstract anything other than +# SQL? +# +# command, arg list +# select blah from foo where thing=%s