sqlx_insert 0.2.0

Proc macro for generating insert statements for sqlx
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[cfg(test)]
mod tests {
    #[cfg(not(feature = "use-macros"))]
    #[test]
    fn ui() {
        let t = trybuild::TestCases::new();

        t.compile_fail("tests/ui/not_compatible_fields.rs");
        t.compile_fail("tests/ui/unnamed_fields.rs");
        t.compile_fail("tests/ui/unknown_database.rs");
        t.compile_fail("tests/ui/unsupported_types.rs");
    }
}