コード例 #1
0
ファイル: select.py プロジェクト: tonyyang1223/btc_mm
    def __init__(self, dialect):
        self._where = QueryCondition('AND')
        self._order_by = []
        self._limit = None

        self.bind = []

        Query.__init__(self, dialect)
コード例 #2
0
ファイル: insert.py プロジェクト: tonyyang1223/btc_mm
 def __init__(self, table, dialect, db, columns=[]):
     self._columns = columns or []
     self._values = []
     self._table = table
     self._db = db
     Query.__init__(self, dialect)
コード例 #3
0
ファイル: insert.py プロジェクト: hilliate/dbpy
 def __init__(self, table, dialect, db, columns=[]):
     self._columns = columns or []
     self._values = []
     self._table = table
     self._db = db
     Query.__init__(self, dialect)