datasources 0.1.5

Async datasource interfaces, middleware, registry, and test doubles
Documentation
1
2
3
4
5
6
7
8
9
use super::drop_table_statement::DropTableStatement;

pub struct DropTableStatementTextRenderer;

impl DropTableStatementTextRenderer {
    pub fn render(&self, statement: &DropTableStatement) -> String {
        format!("DROP TABLE IF EXISTS {}", statement.table())
    }
}