pub fn insert_documents_synced<D, T>(&self, documents: D) -> Result<ResultList<DocumentHeader>>
    where
        D: IntoIterator<Item = NewDocument<T>>,
        T: 'static + Serialize + DeserializeOwned + Debug,
    {
        self.execute(InsertDocuments::new(self.name(), documents).with_force_wait_for_sync(true))
    }
/// Inserts multiple documents into this collection and waits until the
/// changes are written to disk.
Inserts multiple documents into this collection and waits until the
changes are written to disk.
Inserts multiple documents into this collection and waits until the changes are written to disk .
pub fn insert_documents_synced<D, T>(&self, documents: D) -> Result<ResultList<DocumentHeader>>
    where
        D: IntoIterator<Item = NewDocument<T>>,
        T: 'static + Serialize + DeserializeOwned + Debug,
    {
        self.execute(InsertDocuments::new(self.name(), documents).with_force_wait_for_sync(true))
    }
pub fn insert_documents_synced < D , T > ( & self , documents : D ) -> Result < ResultList < DocumentHeader > > where D : IntoIterator < Item = NewDocument < T > > , T : ' static + Serialize + DeserializeOwned + Debug , { self . execute ( InsertDocuments :: new ( self . name ( ) , documents ) . with_force_wait_for_sync ( true ) ) }
Inserts multiple documents into this collection and waits until the
changes are written to disk.
Inserts multiple documents into this collection and waits until the changes are written to disk .
&self
documents
D
&self
documents
D