defaultRuleProcessorChroma
constdefaultRuleProcessorChroma:RuleProcessor
Defined in: packages/core/src/utils/formatQuery/defaultRuleProcessorChroma.ts:21
Default rule processor used by formatQuery for "chroma" format. Returns a Chroma
where filter object, or false if the rule can't be expressed (see
formatCapabilities).
- One operator per field object (
between→$andof$gte/$lte). - Range operators coerce values to numbers; non-numeric values are skipped. Store dates as epoch ms numbers.
in/notInmembers must share a type (string, int, float, or boolean); mixed lists are skipped.null/notNull(no$exists), string operators (where_documentis out of scope),valueSource: "field", and match modes are skipped.
See
https://docs.trychroma.com/docs/querying-collections/metadata-filtering
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.