class ROM::SQL::Index

@api private

Public Instance Methods

can_access?(attribute) click to toggle source
# File lib/rom/sql/index.rb, line 30
def can_access?(attribute)
  !partial? && attributes[0].name == attribute.name
end
partial?() click to toggle source
# File lib/rom/sql/index.rb, line 26
def partial?
  !predicate.nil?
end
to_a() click to toggle source
# File lib/rom/sql/index.rb, line 22
def to_a
  attributes
end