Suppose I am querying Cosmos DB with the following query (SELECT c.Name, c.Job FROM C
) an having the following 2 documents as a result:
[{
"Name":"test",
"Job" : "Hello"
},
{
"Name":"test2",
"Job" : "Hello2"
}]
I would like to have the results in a array for every attribute like following:
[{
"Name" : ["test", "test2"],
"Job" : ["Hello", "Hello2"]
}]
I would like to know if this is possible in cosmos db and if anyone has experience with this. I would appreciate it!
Thank you!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…