AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

DB를 업데이트 하는 부분의 예시가 부족합니다.

Open LisandroSu opened this issue 7 years ago • 1 comments

@kimkyeseung commented on Mon Jan 28 2019

_books.ReplaceOne(book => book.Id == id, bookIn); 이 부분이 DB를 업데이트 하는 예제의 전부입니다.

사용자가 응용을 하게되면 collection의 Boolean값을 반대로 바꾸거나 Array인 데이터에 새 값을 push 하는 경우가 생기는데, ReplaceOne 말고도 다양한 방법으로 DB를 Update하는 방법을 설명해주셨으면 좋겠습니다. 감사합니다.

_books.ReplaceOne(book => book.Id == id, bookIn); This is all of the examples that update the DB. When the user applies, User may change the boolian value of the collection in reverse or push a new value to the Array data. I would like you to explain how to update the DB in various ways besides ReplaceOne. Thank you.


문서 세부 정보

⚠ 이 섹션을 편집하지 마세요. docs.microsoft.com ➟ GitHub 문제 연결에 필요합니다.

LisandroSu avatar Jan 28 '19 15:01 LisandroSu

Duplicate of #10663

Rick-Anderson avatar Jan 29 '19 01:01 Rick-Anderson