Драйвер Mongo C# обновляет определенный элемент во вложенном массиве ⇐ C#
Драйвер Mongo C# обновляет определенный элемент во вложенном массиве
How do I modify in Mongo (C# driver) a single element in a nested property (array) without retrieving the whole document?
public class Element { public int Value {get; set;} public string Name {get; set;} } public class Document { public Element [] Elements {get; set;} } In example I want to find the element with name "Car" and sets its value to 4 in a single query.
Источник: https://stackoverflow.com/questions/525 ... sted-array
How do I modify in Mongo (C# driver) a single element in a nested property (array) without retrieving the whole document?
public class Element { public int Value {get; set;} public string Name {get; set;} } public class Document { public Element [] Elements {get; set;} } In example I want to find the element with name "Car" and sets its value to 4 in a single query.
Источник: https://stackoverflow.com/questions/525 ... sted-array
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Можно ли запустить реактивный драйвер mongo без загрузки Spring и данных Spring?
Anonymous » » в форуме JAVA - 0 Ответы
- 21 Просмотры
-
Последнее сообщение Anonymous
-