def _dump(self, tree):
schema = []<EOL>if tree.tables:<EOL><INDENT>for table in tree.tables:<EOL><INDENT>desc = self.describe(table, refresh=True, require=True)<EOL>schema.append(desc.schema)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>for table in self.describe_all():<EOL><INDENT>schema.append(table.schema)<EOL><DEDENT><DEDENT>return "<STR_LIT>".join(schema)<EOL>
Run a DUMP statement