1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
use crate::postgres::update_builder::SqlUpdate; use crate::postgres::insert_builder::SqlInsert; use crate::postgres::select_builder::SqlSelect; pub struct PostgresBuilder { } impl PostgresBuilder { pub fn insert() -> SqlInsert<'static> { SqlInsert::new() } pub fn select() -> SqlSelect<'static> { SqlSelect::new() } pub fn update() -> SqlUpdate<'static> { SqlUpdate::new() } }