blob: 41b9d64d5f71e88a0d348fecf6151f1d437a4bc3 [file] [log] [blame]
pub trait Backend {}
pub trait SupportsDefaultKeyword {}
impl SupportsDefaultKeyword for Postgres {}
pub struct Postgres;
impl Backend for Postgres {}
pub struct AstPass<DB>(::std::marker::PhantomData<DB>);
pub trait QueryFragment<DB: Backend> {}
#[derive(Debug, Clone, Copy)]
pub struct BatchInsert<'a, T: 'a, Tab> {
_marker: ::std::marker::PhantomData<(&'a T, Tab)>,
}
impl<'a, T:'a, Tab, DB> QueryFragment<DB> for BatchInsert<'a, T, Tab>
where DB: SupportsDefaultKeyword + Backend,
{}