In my migration I have an “address” dictionary
.field("address", .dictionary, .required)
With the following dictionary items
address1
address2
city
state
zip
I tried a number of filter combinations that don’t pass the compile.
.filter(.$address.state == “CA”)
.filter(.$address[state] == “CA”)
.filter(.$address.$state == “CA”)
What is the syntax to filter a dictionary item?