Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/s/q/SQLAntaresia-0.4.2/sqlantaresia/ProcessListTab.py   SQLAntaresia(Download)
    def refresh(self):
        queryModel = QPySelectModel(self, self.connection)
        if self.processListInInfoSchema:
            where = "" if self.chkShowIdle.isChecked() else "WHERE STATE != ''"
            queryModel.setSelect( "SELECT %s FROM information_schema.PROCESSLIST %s ORDER BY TIME DESC" % (",".join(self.processListColumns), where) )
        else:
            queryModel.setSelect( "SHOW FULL PROCESSLIST" )

src/s/q/SQLAntaresia-0.4.2/sqlantaresia/QueryTab.py   SQLAntaresia(Download)
    def on_btnExecuteQuery_clicked(self):
        self.db.setDatabase(self.dbName)
        queryModel = QPySelectModel(self, self.db)
        queryModel.setSelect( self.txtQuery.text() )
        try: