exists
Creates a filter that matches all documents that contain the given property.
Return
the filter
Creates a filter that matches all documents that contain the given property.
Return
the filter
Parameters
property
the data class property
Creates a filter that matches all documents that either contain or do not contain the given property, depending on the value of the exists parameter.
Return
the filter
Parameters
exists
true to check for existence, false to check for absence
Creates a filter that matches all documents that either contain or do not contain the given property, depending on the value of the exists parameter.
Return
the filter
Parameters
property
the data class property
exists
true to check for existence, false to check for absence