Home > database >  Multilayer nested graphs sum problem
Multilayer nested graphs sum problem

Time:04-30

The data is as follows:
{
"Time" : "20210101",
"Name" : "a1",
"Target" : {
"Regnum" : {
"Value" : "101",
"Update" : "20210101123200"
},
"Usenum" : {
"Value" : "35",
"Update" : "20210101123200"
}
}
},
{
"Time" : "20210101",
"Name" : "a2",
"Target" : {
"Regnum" : {
"Value" : "100",
"Update" : "20210101123200"
},
"Usenum" : {
"Value", "30",
"Update" : "20210101123200"
}
}
},
{
"Time" : "20210102",
"Name" : "a1",
"Target" : {
"Regnum" : {
"Value" : "102",
"Update" : "20210101123200"
},
"Usenum" : {
"Value" : "33",
"Update" : "20210101123200"
}
}
},
{
"Time" : "20210102",
"Name" : "a2",
"Target" : {
"Regnum" : {
"Value" : "100",
"Update" : "20210101123200"
},
"Usenum" : {
"Value", "30",
"Update" : "20210101123200"
}
}
}
I want to time in accordance with time field regnum of all name. The value of the sum aggregate statistics because of the value is not a value type, seemingly can only be done with graphs,
Expectations are as follows:
{
"Time" : "20210101",
"Regnum" : 201
}
{
"Time" : "20210102",
"Regnum" : 202
}
This can be achieved? To solve the
  • Related