getDatetimeRuleProcessorCypher()
getDatetimeRuleProcessorCypher(
apiFns:RQBDateTimeLibraryAPI):RuleProcessor
Defined in: getDatetimeRuleProcessorCypher.ts:27
Generates a rule processor with date/time features for use by formatQuery with the "cypher" or "gql" format.
Supports:
- Standard comparison operators (
=,!=,<,>,<=,>=) - Range operators (between, notBetween, in, notIn)
- Duration math via custom operators:
olderThanDurationandwithinDuration(e.g., value"P30D"→datetime() - field > duration('P30D'))
Parameters
| Parameter | Type |
|---|---|
apiFns | RQBDateTimeLibraryAPI |
Returns
caution
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.