I have an issue within Reference filters, I have nested objects within the data:
{
"name" : "Zach",
"car" : [
{
"make" : "Saturn",
"model" : "SL"
},
{
"make" : "Suba",
"model" : "Imprezza"
}
]
}
{
"name" : "Bob",
"car" : [
{
"make" : "Saturn",
"model" : "Imprezza"
}
]
}
When I want to get objects having care_make "Saturn" and car_model "Imprezza", I end up getting both objects when making reference calls to car class, while I should get only the second object (which name is "Bob")
Query I m using:
where: {
operator: And,
operands: [
{path: ["car", "Car_class", "make"],
operator: Equal,
valueText: "Saturn"},
{path: ["car", "Car_class", "model"],
operator: Equal,
valueText: "Imprezza"}
]
}