Ejemplo n.º 1
0
    def getOID(self, oID) : 
        conn = sqlite3.connect(str(self.ui.db_lineEdit.text()))
        result = db.getObjectID(conn, oID)
        record = []
        
        for each in result : 
            record.append(each)

        conn.close()

        return record
Ejemplo n.º 2
0
    def checkoID(self, oID) : 
        conn = sqlite3.connect(str(self.ui.db_lineEdit.text()))
        result = db.getObjectID(conn, oID)
        ids = []
        
        for each in result : 
            ids.append(each[0])

        conn.close()

        return ids