pub mod charset;
mod connection;
#[cfg(feature = "date_time")]
pub mod date_time;
pub(crate) mod error;
pub mod ibase;
mod params;
mod row;
pub use charset::Charset;
pub use connection::*;
pub use error::FbError;
pub use params::*;
pub use row::*;
#[derive(Debug, Clone)]
pub enum SqlType {
Text(String),
Integer(i64),
Floating(f64),
#[cfg(feature = "date_time")]
Timestamp(chrono::NaiveDateTime),
Binary(Vec<u8>),
Boolean(bool),
Null,
}
impl SqlType {
pub fn is_null(&self) -> bool {
matches!(self, Null)
}
}