#[cfg(feature = "postgres")]
use sqlx::postgres::PgRow;
#[cfg(feature = "sqlite")]
use sqlx::sqlite::SqliteRow;
#[cfg(all(feature = "postgres", not(feature = "sqlite")))]
pub trait FlozRowBound: for<'r> sqlx::FromRow<'r, PgRow> {}
#[cfg(all(feature = "postgres", not(feature = "sqlite")))]
impl<T> FlozRowBound for T where T: for<'r> sqlx::FromRow<'r, PgRow> {}
#[cfg(all(feature = "sqlite", not(feature = "postgres")))]
pub trait FlozRowBound: for<'r> sqlx::FromRow<'r, SqliteRow> {}
#[cfg(all(feature = "sqlite", not(feature = "postgres")))]
impl<T> FlozRowBound for T where T: for<'r> sqlx::FromRow<'r, SqliteRow> {}
#[cfg(all(feature = "postgres", feature = "sqlite"))]
pub trait FlozRowBound:
for<'r> sqlx::FromRow<'r, PgRow> + for<'r> sqlx::FromRow<'r, SqliteRow>
{
}
#[cfg(all(feature = "postgres", feature = "sqlite"))]
impl<T> FlozRowBound for T where
T: for<'r> sqlx::FromRow<'r, PgRow> + for<'r> sqlx::FromRow<'r, SqliteRow>
{
}
#[cfg(not(any(feature = "postgres", feature = "sqlite")))]
pub trait FlozRowBound {}
#[cfg(not(any(feature = "postgres", feature = "sqlite")))]
impl<T> FlozRowBound for T {}