Esempio n. 1
0
 def __init__(self, type, *vars):
     Query.__init__(self, type, *vars)
     self._into_uri = []
     self._from_uri = []
     self._template = []
     self._remote_uri = None
     self._clear_uri = None
Esempio n. 2
0
 def __init__(self, type, *vars):
     Query.__init__(self, type, *vars)
     self._into_uri = []
     self._from_uri = []
     self._template = []
     self._remote_uri = None
     self._clear_uri = None
Esempio n. 3
0
 def where(self, *statements):
     if self.query_type in [INSERT_DATA, DELETE_DATA]:
         raise ValueError('The specified <%s> query type does not support the WHERE clause' % (self.query_type))
     return Query.where(self, *statements)
Esempio n. 4
0
 def where(self, *statements):
     if self.query_type in [INSERT_DATA, DELETE_DATA]:
         raise ValueError('The specified <%s> query type does not support the WHERE clause' % (self.query_type))
     return Query.where(self, *statements)