macro_rules! check_option {
($ex:expr) => { ... };
($ex:expr, $code: expr) => { ... };
}Expand description
A macro to safely unwrap an Option<T>, returning a SQLite error code on None.
The default error code is SQLITE_ERROR.
macro_rules! check_option {
($ex:expr) => { ... };
($ex:expr, $code: expr) => { ... };
}A macro to safely unwrap an Option<T>, returning a SQLite error code on None.
The default error code is SQLITE_ERROR.