Trait mem_query::relation::Insert [−][src]
pub trait Insert<H: Header>: RelationImpl { type Remainder: Sized; type Op: RevertableOp<Self>; fn insert_op<FromRec: Record<Cols = H>>(
rec: FromRec
) -> (Self::Op, Self::Remainder); fn insert<FromRec: Record<Cols = H>>(
&mut self,
rec: FromRec
) -> Result<(), Either<<Self::Op as RevertableOp<Self>>::Err, Infallible>> { ... } fn insert_multi(
&mut self,
recs: impl IntoIterator<Item = impl Record<Cols = H>>
) -> Result<(), Either<<Self::Op as RevertableOp<Self>>::Err, Infallible>> { ... } }
Associated Types
Required methods
Provided methods
fn insert<FromRec: Record<Cols = H>>(
&mut self,
rec: FromRec
) -> Result<(), Either<<Self::Op as RevertableOp<Self>>::Err, Infallible>>
[src]
fn insert<FromRec: Record<Cols = H>>(
&mut self,
rec: FromRec
) -> Result<(), Either<<Self::Op as RevertableOp<Self>>::Err, Infallible>>
[src]fn insert_multi(
&mut self,
recs: impl IntoIterator<Item = impl Record<Cols = H>>
) -> Result<(), Either<<Self::Op as RevertableOp<Self>>::Err, Infallible>>
[src]
fn insert_multi(
&mut self,
recs: impl IntoIterator<Item = impl Record<Cols = H>>
) -> Result<(), Either<<Self::Op as RevertableOp<Self>>::Err, Infallible>>
[src]Implementations on Foreign Types
Implementors
impl<K2, K1, Store, H: Header> Insert<H> for RedundantIndex<K2, K1, Store> where
K1: Col + Ord,
K2: Col + Ord,
H: HasCol<K1> + HasCol<K2>,
Store: Insert<H> + Default,
Self: RelationImpl,
[src]
impl<K2, K1, Store, H: Header> Insert<H> for RedundantIndex<K2, K1, Store> where
K1: Col + Ord,
K2: Col + Ord,
H: HasCol<K1> + HasCol<K2>,
Store: Insert<H> + Default,
Self: RelationImpl,
[src]impl<K, R, H: Header> Insert<H> for BTreeIndex<K, R> where
K: Col + Ord + Eq,
H: HasCol<K>,
R: Insert<H> + Default,
Self: RelationImpl,
[src]
impl<K, R, H: Header> Insert<H> for BTreeIndex<K, R> where
K: Col + Ord + Eq,
H: HasCol<K>,
R: Insert<H> + Default,
Self: RelationImpl,
[src]