datasources-postgres 0.1.40

Postgres datasource provider
Documentation
1
2
3
4
5
6
7
8
9
use datasources::DropRoutineStatement;

pub struct PostgresDropRoutineStatementRenderer;

impl PostgresDropRoutineStatementRenderer {
    pub fn render(&self, statement: &DropRoutineStatement) -> String {
        format!("DROP FUNCTION IF EXISTS {}", statement.name())
    }
}