pub mod common;
pub mod sync;
#[cfg(feature = "async")]
pub mod asynchronous;
pub use common::types::error::OrientError;
pub use common::ConnectionOptions;
pub use sync::client::OrientDB;
pub use sync::session::{OSession, SessionPool};
pub type OrientResult<T> = Result<T, OrientError>;
pub use common::DatabaseType;
pub mod types {
pub use super::common::types::*;
}
#[cfg(feature = "async")]
pub mod aio {
pub use crate::asynchronous::session::{OSession, SessionPool};
pub use crate::asynchronous::OrientDB;
}
#[cfg(feature = "sugar")]
pub mod derive {
pub use orientdb_macro::FromResult;
}