1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
use crate::postgres::update_builder::SqlUpdate; use crate::postgres::insert_builder::SqlInsert; use crate::postgres::select_builder::SqlSelect; use crate::postgres::delete_builder::SqlDelete; 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() } pub fn delete() -> SqlDelete<'static> { SqlDelete::new() } }