Add optional parameter '=' in property constraints by MuhammadTahaNaveed · Pull Request #1516 · apache/age
The '=' operator checks if the original property value(as a whole) is equal to the given value.
MATCH (n {school:{addr:{city:'Toronto'}}}) tranforms into
either(in case age.enable_containment is off)
properties.school.addr.city = 'Toronto'
or(in case age.enable_containment is on)
properties @> {school:{addr:{city:'Toronto'}}}
But MATCH (n ={school:{addr:{city:'Toronto'}}}) will tranform into
either(in case age.enable_containment is off)
properties.school = {addr:{city:'Toronto'}}
or(in case age.enable_containment is on)
properties @>> {school:{addr:{city:'Toronto'}}}