sq3-rs 0.2.2

SQLite reader with no dependencies
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[macro_export]
macro_rules! impl_name {
    ($struct_name:ty) => {
        impl $crate::traits::Name for $struct_name {
            const NAME: &'static str = stringify!($struct_name);
        }
    };
}

#[macro_export]
macro_rules! field_parsing_error {
    ($entity_name:expr) => {
        $crate::result::SqliteError::ParsingField($crate::result::FieldParsingError(format!(
            "Invalid payload for {}",
            Self::NAME
        )))
    };
}