Sha256: 22d20dfd13850fd3476540858dd42f82a95e581c6fa79fb4ca2b306ef69813a6

Contents?: true

Size: 201 Bytes

Versions: 4

Compression:

Stored size: 201 Bytes

Contents

module Parentry
  module Strategy
    module Array
      module ClassMethods
        def parentry_depth_function
          "array_length(#{parentry_column}, 1)"
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
parentry-1.1.0 lib/parentry/strategy/array/class_methods.rb
parentry-0.5.0 lib/parentry/strategy/array/class_methods.rb
parentry-1.0.1 lib/parentry/strategy/array/class_methods.rb
parentry-1.0.0 lib/parentry/strategy/array/class_methods.rb