Sha256: c52774a1786986b77a886d5bcb5dd2d13f5c5441759f50a08f08aaaaec492f54

Contents?: true

Size: 1.15 KB

Versions: 18

Compression:

Stored size: 1.15 KB

Contents

%w(class_join conjunction conjunction_dsl dsl dsl_factory group_by join join_dsl join_condition limit named_filter order restriction).each { |file| require File.join(File.dirname(__FILE__), 'dsl', file) }

module RecordFilter
  # The DSL module defines the structure of the criteria API used in calls to
  # filter and named_filter. The API is defined by its four submodules, which
  # define context-specific hooks for the API as well as defining a list of
  # available restrictions. At the top level of a filter definition, all of the
  # methods in DSL and ConjunctionDSL are available. In inner blocks, the methods
  # in ConjunctionDSL are available, and within explicit joins defined using 'join'
  # the methods in JoinDSL are added. The API provides access to:
  #
  # * Restrictions, using ConjunctionDSL.with and the methods in Restriction.
  # * Conjunctions, such as all_of, any_of, etc. in ConjunctionDSL.
  # * Implicit joins on associations, using ConjunctionDSL.having
  # * Explicit joins, using ConjunctionDSL.join and JoinDSL.on
  # * Ordering, using DSL.order
  # * Grouping, using DSL.group_by
  # * Limits and offsets, using DSL.limit
  module DSL
  end
end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
aub-record_filter-0.8.0 lib/record_filter/dsl.rb
aub-record_filter-0.9.0 lib/record_filter/dsl.rb
aub-record_filter-0.9.1 lib/record_filter/dsl.rb
aub-record_filter-0.9.10 lib/record_filter/dsl.rb
aub-record_filter-0.9.11 lib/record_filter/dsl.rb
aub-record_filter-0.9.12 lib/record_filter/dsl.rb
aub-record_filter-0.9.2 lib/record_filter/dsl.rb
aub-record_filter-0.9.3 lib/record_filter/dsl.rb
aub-record_filter-0.9.4 lib/record_filter/dsl.rb
aub-record_filter-0.9.5 lib/record_filter/dsl.rb
aub-record_filter-0.9.6 lib/record_filter/dsl.rb
aub-record_filter-0.9.7 lib/record_filter/dsl.rb
aub-record_filter-0.9.8 lib/record_filter/dsl.rb
aub-record_filter-0.9.9 lib/record_filter/dsl.rb
outoftime-record_filter-0.8.0 lib/record_filter/dsl.rb
record_filter-0.9.14 lib/record_filter/dsl.rb
record_filter-0.9.13 lib/record_filter/dsl.rb
record_filter-0.9.12 lib/record_filter/dsl.rb