Module: ActiveRecord::ConnectionAdapters::ClickHouse::Querying
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/active_record/connection_adapters/clickhouse/querying.rb
Overview
Opt-in model concern: include ActiveRecord::ConnectionAdapters::ClickHouse::Querying
gives every relation of the model the ClickHouse dialect surface
(.final/.sample/.prewhere/.settings/.limit_by/.group_by_period/.fill/.rollup)
and the OLAP calculations (.uniq_count/.quantile/.top_k/.arg_max/.arg_min).