Hi,
Below is the document,
{
“users”: [
{
“userId”: “1”,
“username”: “admin”,
“password”: “111”,
“userType”: “admin”
},
{
“userId”: “2”,
“username”: “x”,
“password”: “222”,
“userType”: “user”
},
{
“userId”: “3”,
“username”: “y”,
“password”: “333”,
“userType”: “user”
}
]
}
Need N1QL to generate this output
[
{
“userId”: “1”,
“username”: “admin”,
“password”: “111”,
“userType”: “admin”
},
{
“userId”: “2”,
“username”: “x”,
“password”: “222”,
“userType”: “user”
},
{
“userId”: “3”,
“username”: “y”,
“password”: “333”,
“userType”: “user”
}
]
Kindly required ASAP.
Thanks