Example #1
0
 def createTable(self):
     store = getStore()
     store.execute(self.createQuery)
     store.commit()
Example #2
0
 def save(self):
     store = getStore()
     store.add(self)
     store.commit()
Example #3
0
 def findtip(what):
     store = getStore()
     x = list(store.find(InternalTip, InternalTip.id == what))
     return x