(self, rdb=0,
               _care=('TABLE', 'VIEW'))
return r
Returns a list of tables in the current database.
Returns a list of tables in the current database.
Returns a list of tables in the current database .
def tables(self, rdb=0,
               _care=('TABLE', 'VIEW')):
        """Returns a list of tables in the current database."""
        r=[]
        a=r.append
        result = self._query("SHOW TABLES")
        row = result.fetch_row(1)
        while row:
            a({'TABLE_NAME': row[0][0], 'TABLE_TYPE': 'TABLE'})
            row = result.fetch_row(1)
        return r
def tables ( self , rdb = 0 , _care = ( 'TABLE' , 'VIEW' ) ) : r = [ ] a = r . append result = self . _query ( "SHOW TABLES" ) row = result . fetch_row ( 1 ) while row : a ( { 'TABLE_NAME' : row [ 0 ] [ 0 ] , 'TABLE_TYPE' : 'TABLE' } ) row = result . fetch_row ( 1 ) return r