parameters: (self, rdb=0,
                 _care=('TABLE', 'VIEW'))
return_statement: return r
docstring: Returns a list of tables in the current database.
docstring_summary: Returns a list of tables in the current database.
docstring_tokens: Returns a list of tables in the current database .
function: 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
function_tokens: 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