# Modify Multiple Data Entries

특정한 메타(Collection)에서 조건에 맞는 다수 데이터의 내용을 수정/변경할 때 사용해요.&#x20;

<div align="left"><figure><img src="/files/w7uVfbiicMfG5QFLnsiq" alt="" width="375"><figcaption></figcaption></figure></div>

**Collection for Data Update** : 수정하고 싶은 문서들의 컬렉션 이름. 수정하려는 데이터가 있는 컬렉션 명을 작성해요.&#x20;

**Data Search Condition to Update** : 수정하고 싶은 문서들의 검색 조건. 수정하고 싶은 데이터를 찾는 검색 조건을 입력해요.

<div align="left"><figure><img src="/files/2PWEHtS6dg0yPQkUWYBW" alt="" width="408"><figcaption></figcaption></figure></div>

> 수정하려는 데이터가 있는 컬렉션에서 \_createUser의 \_id가 수정하려는 문서의 작성자와 같은 데이터를 모두 검색해요.&#x20;

**Data to update** : 수정하려는 내용

* 데이터를 수정할 때 사용돼요.&#x20;
* 데이터에서 해당하는 키 값을 가진 값이 value 값으로 바뀌게 돼요.&#x20;
* 여러 데이터를 한 번에 수정할 수 있어요.&#x20;

<div align="left"><figure><img src="/files/pvrFv36V7ePAzh5Bdimb" alt="" width="408"><figcaption></figcaption></figure></div>

**Number of data to update** : 수정하려는 양. 데이터의 카운트를 올려 줄 때 사용해요. 데이터에서 해당하는 키 값을 가진 값이 value 값 만큼 올라가게 돼요.&#x20;

**Whether to create logs and follow-up logic :** 로그와 후속 로직 생성 여/부. 업데이트가 발생했을 시 업데이트된 데이터 기준의 업데이트 이벤트를 생성하고 로그 데이터를 남길 지의 여부예요.

2024.01.09 Jinny

**Modify Multiple Existing Data**

This function facilitates the process of making modifications to multiple existing data sets.

2023.08.11 Song


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ohmyapp.io/main/guide/develop_app/command-execute-function/create-logic/flow_option/edit-alotofexisting-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
