Delete Multiple Data Entries

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

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

예시 : 좋아요 기록을 삭제하기 위해 _docTimeline을 작성해줘요.

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

값으로 모든 데이터형을 지원해요.

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

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

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

Last updated