0

I'm trying to convert array to one line statement. It has MainArray and SubArray.

Here's the Table Looks Like:

Table Name: MainArray.SubArray

Column 0 Column 1
Cell R Cell U
Cell C Cell D

Output:

"Test" : R , U "Test" : C , D

I'd tried using the recommended codes Here in the link

enter image description here

Here's the sample output I tried coding, I'd like to the column Permission would be single output with the same role code.

2
  • Your output is not a valid JSON/BSON document. Please try to provide these: 1. Sample Input JSON/BSON document 2. Your query to attempt 3. Sample Output JSON/BSON document Commented Apr 18, 2023 at 2:37
  • @YongShun hello, I'd edited the inquiry. Commented Apr 18, 2023 at 3:18

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.