Sha256: 3cf141c214225ce82d68ceafd97b4514e173021cd85eabbd83b1bd094380db5d

Contents?: true

Size: 201 Bytes

Versions: 153

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

153 entries across 148 versions & 12 rubygems

Version Path
activerecord-8.0.0 lib/arel/order_predications.rb
activerecord-7.2.2 lib/arel/order_predications.rb
activerecord-7.1.5 lib/arel/order_predications.rb
activerecord-8.0.0.rc2 lib/arel/order_predications.rb
activerecord-7.2.1.2 lib/arel/order_predications.rb
activerecord-7.1.4.2 lib/arel/order_predications.rb
activerecord-7.0.8.6 lib/arel/order_predications.rb
activerecord-6.1.7.10 lib/arel/order_predications.rb
activerecord-8.0.0.rc1 lib/arel/order_predications.rb
activerecord-6.1.7.9 lib/arel/order_predications.rb
activerecord-7.2.1.1 lib/arel/order_predications.rb
activerecord-7.1.4.1 lib/arel/order_predications.rb
activerecord-7.0.8.5 lib/arel/order_predications.rb
activerecord-8.0.0.beta1 lib/arel/order_predications.rb
omg-activerecord-8.0.0.alpha9 lib/arel/order_predications.rb
omg-activerecord-8.0.0.alpha8 lib/arel/order_predications.rb
omg-activerecord-8.0.0.alpha7 lib/arel/order_predications.rb
omg-activerecord-8.0.0.alpha4 lib/arel/order_predications.rb
omg-activerecord-8.0.0.alpha3 lib/arel/order_predications.rb
omg-activerecord-8.0.0.alpha2 lib/arel/order_predications.rb