예제 #1
0
    def __init__(self, table, dialect, db):
        """Constructor

        :param table:  table name
        :type table: str
        :param dialect: the sql dialect instance
        :param db: the database connection instance
        """
        if table:
            self._table = table
        self._db = db
        WhereQuery.__init__(self, dialect)
예제 #2
0
파일: update.py 프로젝트: hilliate/dbpy
    def __init__(self, table, dialect, db):

        self._table = table
        self._db = db
        self._set = []
        WhereQuery.__init__(self, dialect)
예제 #3
0
파일: delete.py 프로젝트: hilliate/dbpy
 def __init__(self, table, dialect, db,):
     if table:
         self._table = table
     self._db = db
     WhereQuery.__init__(self, dialect)
예제 #4
0
    def __init__(self, table, dialect, db):

        self._table = table
        self._db = db
        self._set = []
        WhereQuery.__init__(self, dialect)