fn execute_tables(&mut self) -> anyhow::Result<()> {
        let mut output = self.output_target.start();

        let mut stmt = self
            .conn
            .prepare("SELECT name FROM sqlite_schema WHERE type = 'table' ORDER BY name ASC")?;
        let tables = stmt.query_map([], |row| row.get::<_, String>(0))?;
        for table in tables {
            writeln!(&mut output, "{}", table?)?;
        }

        Ok(())
    }
/// Execute a .tables command.
Execute a .tables command.
Execute a . tables command .
fn execute_tables(&mut self) -> anyhow::Result<()> {
        let mut output = self.output_target.start();
        let mut stmt = self
            .conn
            .prepare("SELECT name FROM sqlite_schema WHERE type = 'table' ORDER BY name ASC")?;
        let tables = stmt.query_map([], |row| row.get::<_, String>(0))?;
        for table in tables {
            writeln!(&mut output, "{}", table?)?;
        }
        Ok(())
    }
fn execute_tables ( & mut self ) -> anyhow :: Result < ( ) > { let mut output = self . output_target . start ( ) ; let mut stmt = self . conn . prepare ( " " ) ? ; let tables = stmt . query_map ( [ ] , | row | row . get :: < _ , String > ( 0 ) ) ? ; for table in tables { writeln ! ( mut output " " table ) ? ; } Ok ( ( ) ) }
Execute a .tables command.
Execute a . tables command .
&mut self
&mut self