Exemplo 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
Exemplo 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
Exemplo 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)
Exemplo 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)