Operator
Enumeration of query operators used for building database query conditions.
Each operator defines a specific type of comparison or logical operation that can be applied to fields in database queries. Operators range from simple equality checks to complex date range queries and array operations.
Entries
Aggregate ID equality operator. Matches documents where the aggregate root ID equals the specified value.
Aggregate ID list operator. Matches documents where the aggregate root ID equals any value in the specified list.
Starts-with operator. Matches documents where the specified field starts with the given prefix.
Element match operator. Matches documents where at least one element in the specified array field matches the given condition.
Before today operator. Matches documents where the date field is before the specified time today.
This month operator. Matches documents where the date field falls within the current month's date range. Example: If today is 2024-06-06, matches range 2024-06-01 00:00:00.000 to 2024-06-30 23:59:59.999.
Last month operator. Matches documents where the date field falls within last month's date range. Example: If today is 2024-06-06, matches range 2024-05-01 00:00:00.000 to 2024-05-31 23:59:59.999.
Recent days operator. Matches documents where the date field falls within the last N days (including today). Example: For 3 recent days, if today is 2024-06-06, matches from 2024-06-04 00:00:00.000 onwards.
Earlier days operator. Matches documents where the date field is earlier than N days ago. Example: For 3 days ago, if today is 2024-06-06, matches anything before 2024-06-04 00:00:00.000.