getDatetimeRuleProcessorSPARQL()
getDatetimeRuleProcessorSPARQL(
apiFns:RQBDateTimeLibraryAPI):RuleProcessor
Defined in: getDatetimeRuleProcessorSPARQL.ts:27
Generates a rule processor with date/time features for use by formatQuery with the "sparql" format.
Supports:
- Standard comparison operators (
=,!=,<,>,<=,>=) - Range operators (between, notBetween, in, notIn)
- Duration math via custom operators:
olderThanDurationandwithinDuration(e.g., value"P30D"→NOW() - ?field > "P30D"^^xsd:duration)
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.