datastore/providers/azurecosmosdb_datastore.py [270:280]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    async def delete(
        self,
        ids: Optional[List[str]] = None,
        filter: Optional[DocumentMetadataFilter] = None,
        delete_all: Optional[bool] = None,
    ) -> bool:
        """
        Removes vectors by ids, filter, or everything in the datastore.
        Returns whether the operation was successful.
        """
        if delete_all:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



datastore/providers/mongodb_atlas_datastore.py [159:173]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    async def delete(
        self,
        ids: Optional[List[str]] = None,
        filter: Optional[DocumentMetadataFilter] = None,
        delete_all: Optional[bool] = None,
    ) -> bool:
        """
        Removes documents by ids, filter, or everything in the datastore.
        Returns whether the operation was successful.

        Note that ids refer to those in the datastore,
        which are those of the **DocumentChunks**
        """
        # Delete all documents from the collection if delete_all is True
        if delete_all:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



