예제 #1
0
 def query(self):
     return join([self._insert, self._values]) + ";"
예제 #2
0
 def query(self):
     return join([self._insert, self._select])
예제 #3
0
 def query(self):
     return join([self._create, self._values]) + ";"
예제 #4
0
 def query(self):
     return join([self._select, self._from, self._constraints]) + ";"
예제 #5
0
 def query(self):
     return join([self._order, self._by, self._asc])
예제 #6
0
 def query(self):
     return join([self._where, self._extra])
예제 #7
0
 def query(self):
     return (join([self._delete] + [self._constraints]
                  if self._constraints != "" else [self._delete]) + ";")
예제 #8
0
 def _constraints(self):
     return join([where.query for where in self.constraints], "\n")
예제 #9
0
 def query(self):
     return join([self._update, self._set, self._constraints]) + ";"