Class: PgCanary::Rules::SchemaIntrospection::IndexInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/pg_canary/rules/schema_introspection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#columnsObject

Returns the value of attribute columns

Returns:

  • (Object)

    the current value of columns



10
11
12
# File 'lib/pg_canary/rules/schema_introspection.rb', line 10

def columns
  @columns
end

#expressionsObject

Returns the value of attribute expressions

Returns:

  • (Object)

    the current value of expressions



10
11
12
# File 'lib/pg_canary/rules/schema_introspection.rb', line 10

def expressions
  @expressions
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



10
11
12
# File 'lib/pg_canary/rules/schema_introspection.rb', line 10

def name
  @name
end

#opclassesObject

Returns the value of attribute opclasses

Returns:

  • (Object)

    the current value of opclasses



10
11
12
# File 'lib/pg_canary/rules/schema_introspection.rb', line 10

def opclasses
  @opclasses
end

#usingObject

Returns the value of attribute using

Returns:

  • (Object)

    the current value of using



10
11
12
# File 'lib/pg_canary/rules/schema_introspection.rb', line 10

def using
  @using
end

Instance Method Details

#leading_columnObject



18
19
20
# File 'lib/pg_canary/rules/schema_introspection.rb', line 18

def leading_column
  columns.first
end