pub fn insert_documents_return_new<D, T>(&self, documents: D) -> Result<ResultList<Document<T>>>
    where
        D: IntoIterator<Item = NewDocument<T>>,
        T: 'static + Serialize + DeserializeOwned + Debug,
    {
        self.execute(InsertDocumentsReturnNew::new(self.name(), documents))
    }
/// Inserts multiple documents into this collection and returns the newly
/// created documents.
Inserts multiple documents into this collection and returns the newly
created documents.
Inserts multiple documents into this collection and returns the newly created documents .
pub fn insert_documents_return_new<D, T>(&self, documents: D) -> Result<ResultList<Document<T>>>
    where
        D: IntoIterator<Item = NewDocument<T>>,
        T: 'static + Serialize + DeserializeOwned + Debug,
    {
        self.execute(InsertDocumentsReturnNew::new(self.name(), documents))
    }
pub fn insert_documents_return_new < D , T > ( & self , documents : D ) -> Result < ResultList < Document < T > > > where D : IntoIterator < Item = NewDocument < T > > , T : ' static + Serialize + DeserializeOwned + Debug , { self . execute ( InsertDocumentsReturnNew :: new ( self . name ( ) , documents ) ) }
Inserts multiple documents into this collection and returns the newly
created documents.
Inserts multiple documents into this collection and returns the newly created documents .
&self
documents
D
&self
documents
D