parseJSONata()
Call Signature
parseJSONata(
jsonataInput
:string
):DefaultRuleGroupType
Converts a JSONata string expression into a query suitable for the
QueryBuilder component's query
or defaultQuery
props
(DefaultRuleGroupType).
Parameters
Parameter | Type |
---|---|
jsonataInput | string |
Returns
Defined in
packages/react-querybuilder/src/utils/parseJSONata/parseJSONata.ts:44
Call Signature
parseJSONata(
jsonataInput
:string
,options
: {fields
:OptionList
<FullField
<string
,string
,string
,Option
<string
>,Option
<string
>>> |Record
<string
,FullField
<string
,string
,string
,Option
<string
>,Option
<string
>>>;getValueSources
: (field
:string
,operator
:string
) =>ValueSources
;listsAsArrays
:boolean
; } & {independentCombinators
:false
; }):DefaultRuleGroupType
Converts a JSONata string expression into a query suitable for the
QueryBuilder component's query
or defaultQuery
props
(DefaultRuleGroupType).
Parameters
Parameter | Type |
---|---|
jsonataInput | string |
options | { fields : OptionList <FullField <string , string , string , Option <string >, Option <string >>> | Record <string , FullField <string , string , string , Option <string >, Option <string >>>; getValueSources : (field : string , operator : string ) => ValueSources ; listsAsArrays : boolean ; } & { independentCombinators : false ; } |
Returns
Defined in
packages/react-querybuilder/src/utils/parseJSONata/parseJSONata.ts:50
Call Signature
parseJSONata(
jsonataInput
:string
,options
: {fields
:OptionList
<FullField
<string
,string
,string
,Option
<string
>,Option
<string
>>> |Record
<string
,FullField
<string
,string
,string
,Option
<string
>,Option
<string
>>>;getValueSources
: (field
:string
,operator
:string
) =>ValueSources
;listsAsArrays
:boolean
; } & {independentCombinators
:true
; }):DefaultRuleGroupTypeIC
Converts a JSONata string expression into a query suitable for the
QueryBuilder component's query
or defaultQuery
props
(DefaultRuleGroupTypeIC).
Parameters
Parameter | Type |
---|---|
jsonataInput | string |
options | { fields : OptionList <FullField <string , string , string , Option <string >, Option <string >>> | Record <string , FullField <string , string , string , Option <string >, Option <string >>>; getValueSources : (field : string , operator : string ) => ValueSources ; listsAsArrays : boolean ; } & { independentCombinators : true ; } |
Returns
Defined in
packages/react-querybuilder/src/utils/parseJSONata/parseJSONata.ts:61
API documentation is generated from the latest commit on the main
branch. It may be somewhat inconsistent with official releases of React Query Builder.