# Delete Multiple Data Entries

조건에 맞는 다수의 데이터(Document)를 삭제해요.&#x20;

<div align="left"><figure><img src="https://3976660509-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDgfvhQgmY9NbRK0Sln7j%2Fuploads%2FaKuLw67FTiQUiNTvDvaZ%2F%E1%84%89%E1%85%B3%E1%84%8F%E1%85%B3%E1%84%85%E1%85%B5%E1%86%AB%E1%84%89%E1%85%A3%E1%86%BA%202024-01-26%20%E1%84%8B%E1%85%A9%E1%84%92%E1%85%AE%2011.19.49.png?alt=media&#x26;token=550b2b19-5ab5-4a8b-872a-19694ebc2bd9" alt="" width="344"><figcaption></figcaption></figure></div>

**Collection for Data Delete :** 삭제하려는 데이터가 있는 컬렉션 명을 작성해요.&#x20;

> 예시 : 좋아요 기록을 삭제하기 위해 \_docTimeline을 작성해줘요.&#x20;

**Data Search Condition to Delete** : 삭제하고 싶은 문서들의 검색 조건을 오브젝트 형태로 작성해요.&#x20;

값으로 모든 데이터형을 지원해요.&#x20;

```
{
  "_createUser._id": "tmpDocument.userId",
  "component":"_like",
  "collectionName": "tmpDocumentJson.collectionName"
}
```

<div align="left"><figure><img src="https://3976660509-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDgfvhQgmY9NbRK0Sln7j%2Fuploads%2FGIUbrJ00gJKEnVU6ssSy%2F%E1%84%89%E1%85%B3%E1%84%8F%E1%85%B3%E1%84%85%E1%85%B5%E1%86%AB%E1%84%89%E1%85%A3%E1%86%BA%202024-03-04%20%E1%84%8B%E1%85%A9%E1%84%92%E1%85%AE%201.11.19.png?alt=media&#x26;token=8c94739b-cadd-423f-9db0-5e7fd2f6014d" alt="" width="346"><figcaption></figcaption></figure></div>

> 좋아요를 누른 유저의 \_id가 로직을 실행한 userId가 같고 \
> 컴포넌트가 \_like\
> 컬렉션의 이름이 현재 문서의 컬렉션 이름과 같은 조건의 데이터를 삭제합니다.&#x20;

2024.03.04 Jinny

**Delete Multiple Existing Data**

This function enables the execution of operations to delete multiple pre-existing data sets.

2023.08.11 Song
