Answer the question
In order to leave comments, you need to log in
How are maps stored in mongodb?
There is a class in java
public class MyClass {
String id;
Map<String, String> params;
}
{
"id" : "ABC",
"params" : {
"param1" : "value1",
"param2" : "value2"
}
}
Answer the question
In order to leave comments, you need to log in
In our CRM system, we store the students' schedule using map. Key — group id, Value — its schedule (array of day information objects).
The end result is something like this:
localSchedule: {
"id1": [{}, {}]
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question