Skip to main content

getDatetimeRuleProcessorPrisma()

getDatetimeRuleProcessorPrisma(apiFns: RQBDateTimeLibraryAPI): RuleProcessor

Defined in: getDatetimeRuleProcessorPrisma.ts:13

Generates a rule processor with date/time features for use by formatQuery with the "prisma" format. Relative values are materialized and all date/time values are converted to Date objects (Prisma's where clauses use native Date values for date columns).

Parameters​

ParameterType
apiFnsRQBDateTimeLibraryAPI

Returns​

RuleProcessor


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.