1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/models/statistic_custom_aggregation.rb

9 lines
370 B
Ruby
Raw Normal View History

# frozen_string_literal: true
# StatisticCustomAggregation is an ElasticSearch aggregation that will run when the end-user is browsing the statistics
2020-03-30 11:33:12 +02:00
# page for the related StatisticType.
# See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html
2020-03-25 10:16:47 +01:00
class StatisticCustomAggregation < ApplicationRecord
belongs_to :statistic_type
end