Skip to main content

defaultRuleGroupProcessorGremlin

const defaultRuleGroupProcessorGremlin: RuleGroupProcessor<string>

Defined in: packages/core/src/utils/formatQuery/defaultRuleGroupProcessorGremlin.ts:20

Rule group processor used by formatQuery for "gremlin" format.

At the top level, filter rules produce chained .has() steps (implicit AND) unless the group is negated, uses "or", or uses independent combinators (then nested form is used). Nested groups use .and() / .or() / .not() compound traversals with __ anonymous traversal prefixes. Since not() accepts exactly one traversal, negated groups with multiple predicates wrap them in a single __.and()/__.or() sub-traversal.


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.