sqlink 0.6.0

postgres builder to work with postgres
Documentation
1
2
3
4
5
6
7
8
9
pub type ParameterValueAsRef<'a> = &'a (dyn postgres_types::ToSql + std::marker::Sync);
pub struct QueryWithParamsLoc {
    pub query: String,
    pub parameters_loc: Vec<usize>,
}
pub struct QueryWithParams<'a> {
    pub query: String,
    pub parameters: Vec<ParameterValueAsRef<'a>>,
}