defaultRuleProcessorMongoDB()
defaultRuleProcessorMongoDB(
rule
:RuleType
<string
,string
,any
,string
>,options
?:ValueProcessorOptions
,meta
?: {context
:Record
<string
,any
>;processedParams
:any
[] |Record
<string
,any
>; }):any
Default rule processor used by formatQuery for "mongodb" format.
Note that the "mongodb" format is deprecated in favor of the "mongodb_query" format.
Parameters
Parameter | Type |
---|---|
rule | RuleType <string , string , any , string > |
options ? | ValueProcessorOptions |
meta ? | { context : Record <string , any >; processedParams : any [] | Record <string , any >; } |
meta.context ? | Record <string , any > |
meta.processedParams ? | any [] | Record <string , any > |
Returns
any
Defined in
packages/react-querybuilder/src/utils/formatQuery/defaultRuleProcessorMongoDB.ts:9
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.