(self, sql, params = None, **kvargs)
return row.values()[0]
Helper function to fetch one value Takes away all the hassle of preparing statements
            and processing returned result giving out just one value. Uses plan cache if used inside
            db service
Helper function to fetch one value Takes away all the hassle of preparing statements
            and processing returned result giving out just one value. Uses plan cache if used inside
            db service
Helper function to fetch one value Takes away all the hassle of preparing statements and processing returned result giving out just one value . Uses plan cache if used inside db service
def run_lookup(self, sql, params = None, **kvargs):
        """ Helper function to fetch one value Takes away all the hassle of preparing statements
            and processing returned result giving out just one value. Uses plan cache if used inside
            db service
        """
        params = params or kvargs
        rows = self.run_query( sql, params )
        if len(rows) == 0:
            return None
        row = rows[0]
        return row.values()[0]
def run_lookup ( self , sql , params = None , * * kvargs ) : params = params or kvargs rows = self . run_query ( sql , params ) if len ( rows ) == 0 : return None row = rows [ 0 ] return row . values ( ) [ 0 ]