Sha256: 3cf141c214225ce82d68ceafd97b4514e173021cd85eabbd83b1bd094380db5d

Contents?: true

Size: 201 Bytes

Versions: 160

Compression:

Stored size: 201 Bytes

Contents

# frozen_string_literal: true

module Arel # :nodoc: all
  module OrderPredications
    def asc
      Nodes::Ascending.new self
    end

    def desc
      Nodes::Descending.new self
    end
  end
end

Version data entries

160 entries across 155 versions & 14 rubygems

Version Path
activerecord-6.1.7.6 lib/arel/order_predications.rb
activerecord-7.0.7.1 lib/arel/order_predications.rb
activerecord-6.1.7.5 lib/arel/order_predications.rb
activerecord-7.0.7 lib/arel/order_predications.rb
activerecord-7.0.6 lib/arel/order_predications.rb
activerecord-7.0.5.1 lib/arel/order_predications.rb
activerecord-6.1.7.4 lib/arel/order_predications.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/activerecord-7.0.2.3/lib/arel/order_predications.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/activerecord-7.0.3.1/lib/arel/order_predications.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/arel/order_predications.rb
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/arel/order_predications.rb
activerecord-7.0.5 lib/arel/order_predications.rb
activerecord-7.0.4.3 lib/arel/order_predications.rb
activerecord-6.1.7.3 lib/arel/order_predications.rb
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/arel/order_predications.rb
activerecord-6.1.7.2 lib/arel/order_predications.rb
activerecord-7.0.4.2 lib/arel/order_predications.rb
rubypitaya-3.12.3 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/arel/order_predications.rb
activerecord-7.0.4.1 lib/arel/order_predications.rb
activerecord-6.1.7.1 lib/arel/order_predications.rb