-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Problem Statement:
"query": {
"array": "AddressEntity",
"elemMatch": {
"$and" :[
{
"field": "countryCode",
"op": "=",
"rvalue": "CA"
},
{
"field": "stateName",
"op": "$in",
"values":[ "Alberta", "British Columbia", "Manitoba"]
}
]
}
}
Resultant projection of this type of query will be like:
{...
state: "Manitoba"
},
{....
state:"Alberta"
}
Requirement: To replace state name like "Manitoba" with "MB" & "Alberta" with "AB "will require conditional update statement.
Metadata
Metadata
Assignees
Labels
No labels