activerecord-spanner-adapter - Class ActiveRecordSpannerAdapter::Index (v2.0.0)

Reference documentation and code samples for the activerecord-spanner-adapter class ActiveRecordSpannerAdapter::Index.

Inherits

  • Object

Methods

#column_names

def column_names()

#columns

def columns()

Returns the value of attribute columns.

#columns=

def columns=(value)

Sets the attribute columns

#columns_by_position

def columns_by_position()

#initialize

def initialize(table, name, columns, type: nil, unique: false, null_filtered: false, interleave_in: nil, storing: nil, state: nil, schema: "") -> Index
Returns
  • (Index) — a new instance of Index

#interleave_in

def interleave_in()

Returns the value of attribute interleave_in.

#interleave_in=

def interleave_in=(value)

Sets the attribute interleave_in

#name

def name()

Returns the value of attribute name.

#name=

def name=(value)

Sets the attribute name

#null_filtered

def null_filtered()

Returns the value of attribute null_filtered.

#null_filtered=

def null_filtered=(value)

Sets the attribute null_filtered

#options

def options()

#orders

def orders()

#primary?

def primary?() -> Boolean
Returns
  • (Boolean)

#rename_column_options

def rename_column_options(old_column, new_column)

#schema

def schema()

Returns the value of attribute schema.

#schema=

def schema=(value)

Sets the attribute schema

#state

def state()

Returns the value of attribute state.

#state=

def state=(value)

Sets the attribute state

#storing

def storing()

Returns the value of attribute storing.

#storing=

def storing=(value)

Sets the attribute storing

#table

def table()

Returns the value of attribute table.

#table=

def table=(value)

Sets the attribute table

#type

def type()

Returns the value of attribute type.

#type=

def type=(value)

Sets the attribute type

#unique

def unique()

Returns the value of attribute unique.

#unique=

def unique=(value)

Sets the attribute unique