pub fn insert_documents<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))
    }
/// Inserts multiple documents into this collection.
Inserts multiple documents into this collection.
Inserts multiple documents into this collection .
pub fn insert_documents<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))
    }
pub fn insert_documents < 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 ) ) }
Inserts multiple documents into this collection.
Inserts multiple documents into this collection .
&self
documents
D
&self
documents
D