export const structuredQuery = {
"from": [{
"collectionId": "products",
"allDescendants": false
}],
"where": {
"fieldFilter": {
"field": {
"fieldPath": "name"
},
"op": "EQUAL",
"value": {
"stringValue": "test"
}
}
}
};
Run Code Online (Sandbox Code Playgroud)
上面是我现在拥有的示例结构化查询,这里我需要添加“类别”作为新条件(如名称)。
请任何人帮助我解决这一问题。