You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Francis edited this page Dec 2, 2024
·
27 revisions
Adding Custom Operators
Custom operators can be added with the useOperators(type, operatorMap) where
type is the kind of operators to add, and operatorMap is mapping of function names beginning with $ to their implementations for the specific operator type.
Once an operator has been registered the function referenced cannot be replaced. This ensures that behaviour of mingo remain consistent at runtime.
Each operator type function has a different signature and must be registered correctly otherwise the result will be unexpected.