module Api::Custom::FilterMacros
Overview
フィルタリングをサポートするマクロ群
Direct including types
Defined in:
actions/mixins/api/custom/filter_macros.crMacro Summary
- bool_chain_filters(query, *columns)
- bool_chain_filters_for_relation(query, relation_name, *columns)
- datetime_chain_filters(query, *columns)
- datetime_chain_filters_for_relation(query, relation_name, *columns)
- geo_point_chain_filters(query, *columns)
- geo_point_chain_filters_for_relation(query, relation_name, *columns)
- geo_point_distance_filters(query, *columns)
- geo_point_distance_filters_for_relation(query, relation_name, *columns)
- number_chain_filters(query, *columns)
- number_chain_filters_for_relation(query, relation_name, *columns)
- ordering_single_column_query(query, ordering_sym, default_column, *allowed_columns)
- ordering_single_column_query_for_relation(query, relation_name, ordering_sym, default_column, *allowed_columns)
- string_chain_filters(query, *columns)
- string_chain_filters_for_relation(query, relation_name, *columns)
Macro Detail
macro ordering_single_column_query(query, ordering_sym, default_column, *allowed_columns)
#
macro ordering_single_column_query_for_relation(query, relation_name, ordering_sym, default_column, *allowed_columns)
#