I have always done things like this at server connect level but I find myself looking for an APP CONNECT alternative
I have a multi record query which returns fields containing a letter
- query:[
- {
- item_code: “B”},
- {
- item_code: “C”},
- {
- item_code: “F”},
- {
- item_code: “A”},
- {
- item_code: “D”},
- {
- item_code: “E”}]
}
- item_code: “E”}]
- {
I am looking for the best way to detect if, say the value “E” is contained in the query.
even better still would be if the letters either “E” or “D” (i know I could repeat the condition with an OR if necessary)
have played around with where() and contains() but don’t seem to be able to get this to work properly, sure it is simple but getting frustrated.