Hello All,
I am new in CB DB and trying to query below array Please help.
Below are my CB DB bucket format
{
"Lang" : "en_US",
"DocType" : "User Setting Document",
"Role" : [{
"RoleID" : 1,
"Name" : "FO Emp",
"Params" : {
"PassMin" : 8,
"PassMax" : 12,
"PassUCase" : 1,
"PassLCase" : 1,
"PassNum" : 1
}
},
{
"RoleID" : 2,
"Name" : "BO Emp",
"Params" : {
"PassMin" : 8,
"PassMax" : 12,
"PassUCase" : 1,
"PassLCase" : 1,
"PassNum" : 1
}
}
]
}
I have to get the record of RoleID =1. I have tried many ways but it is not working. Please suggest the best way to get the result with RoleID wise.