equals

The equals filter matches documents or messages attributes using string equality.

Given the following documents:

{
  firstName: 'Grace',
  lastName: 'Hopper'
},
{
  firstName: 'Ada',
  lastName: 'Lovelace'
}

The following filter validates the first document:

equals: {
  firstName: 'Grace'
}