DB를 업데이트 하는 부분의 예시가 부족합니다.
@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 문제 연결에 필요합니다.
- ID: 5240866d-d0a1-f0dd-7b2c-203e1d69bc4b
- Version Independent ID: 83a5cb3b-23bc-4f0c-cd1c-1d1ffeb1131a
- Content: ASP.NET Core 및 MongoDB를 사용하여 웹 API 빌드
- Content Source: aspnetcore/tutorials/first-mongo-app.md
- GitHub Login: @prkhandelwal
- Microsoft Alias: scaddie
@LisandroSu commented on Mon Jan 28 2019
Issue moved to aspnet/Docs #10662 via ZenHub
Hi team,
Please check this request.
Thanks!
Hi I am so grateful for your feedback. So Will my request be reflected? Please let me know again when the tutorial is updated.
Thankyou very much. 감사합니다.
Thanks for the question. You'll probably get a faster answer on a support forum, such as Stack Overflow, or a support chat, such as Slack or Gitter. If you post the question elsewhere, please update this issue with the link. Thanks again.
Thanks for contacting us. We don’t have the resources to invest in this area, so we are closing the issue. Should your request generate enough 👍 responses, we’ll reconsider.