can mongo aggregations be defined in the config file ? #552
-
is there a way to define these aggregations in the config file rather then a patch request ? |
Beta Was this translation helpful? Give feedback.
Answered by
ujibang
Apr 18, 2025
Replies: 1 comment 1 reply
-
no, aggregations cannot be definied in the configuration file. they are stored in mongodb in a special collection that holds the collection metadata. since an instance of restheart is boud to one mongodb clusted, there ae no issues in HA deployments, each instance will get the aggregation definition from mongodb. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ujibang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
no, aggregations cannot be definied in the configuration file.
they are stored in mongodb in a special collection that holds the collection metadata. since an instance of restheart is boud to one mongodb clusted, there ae no issues in HA deployments, each instance will get the aggregation definition from mongodb.