kosame_sql 0.3.0

Macro-based Rust ORM focused on developer ergonomics
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub enum Dialect {}

impl crate::Dialect for Dialect {
    fn fmt_ident(formatter: &mut impl Write, name: &str) -> std::fmt::Result {
        write!(formatter, "[{name}]")
    }

    fn fmt_bind_param(formatter: &mut impl Write, name: &str, _ordinal: u32) -> std::fmt::Result {
        write!(formatter, "@{name}")
    }
}