fixed possible memdb issue with table(id), thanks Luca
This commit is contained in:
@@ -299,6 +299,11 @@ class Table(DALStorage):
|
||||
def __str__(self):
|
||||
return self._tablename
|
||||
|
||||
def __call__(self, id):
|
||||
return self.get(id)
|
||||
|
||||
def __getitem__(self,id):
|
||||
return self.get(id)
|
||||
|
||||
class Expression(object):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user