Commit 5cee0ddf authored by Jérome Perrin's avatar Jérome Perrin

define getFormat and getType methods on QueryMixin class



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14031 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 923481ff
......@@ -181,10 +181,20 @@ class UidBuffer(TM):
self.temporary_buffer.setdefault(tid, []).extend(iterable)
class QueryMixin:
operator = None
format = None
type = None
def getOperator(self):
return self.operator
def getFormat(self):
return self.format
def getType(self):
return self.type
def getLogicalOperator(self):
return self.logical_operator
......@@ -246,12 +256,6 @@ class Query(QueryMixin):
def getRange(self):
return self.range
def getFormat(self):
return self.format
def getType(self):
return self.type
def getTableAliasList(self):
return self.table_alias_list
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment