Logo Search packages:      
Sourcecode: mbot version File versions  Download package

def PgNewsHandler::PgNewsHandler::execQuery (   self,
  sql 
)

Execute the given query 

Definition at line 32 of file PgNewsHandler.py.

00032                             :
        """ Execute the given query """

        self.log.notice("[PgNewsHandler]: execQuery")
        db      = self.dbconn()
        req     = db.query(sql)
        self.id = self.getid(db, self.news_tblsq)
        db.close()

        return self.id

    def getid(self, conn, table=None):


Generated by  Doxygen 1.6.0   Back to index