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

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

Inherits

  • Object

Methods

#cascade?

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

#catalog

def catalog()

Returns the value of attribute catalog.

#catalog=

def catalog=(value)

Sets the attribute catalog

#columns

def columns()

Returns the value of attribute columns.

#columns=

def columns=(value)

Sets the attribute columns

#foreign_keys

def foreign_keys()

Returns the value of attribute foreign_keys.

#foreign_keys=

def foreign_keys=(value)

Sets the attribute foreign_keys

#indexes

def indexes()

Returns the value of attribute indexes.

#indexes=

def indexes=(value)

Sets the attribute indexes

#initialize

def initialize(name, parent_table: nil, on_delete: nil, schema_name: nil, catalog: nil) -> Table

parent_table == interleave_in

Returns
  • (Table) — a new instance of Table

#name

def name()

Returns the value of attribute name.

#name=

def name=(value)

Sets the attribute name

#on_delete

def on_delete()

Returns the value of attribute on_delete.

#on_delete=

def on_delete=(value)

Sets the attribute on_delete

#parent_table

def parent_table()

Returns the value of attribute parent_table.

#parent_table=

def parent_table=(value)

Sets the attribute parent_table

#primary_keys

def primary_keys()

#schema_name

def schema_name()

Returns the value of attribute schema_name.

#schema_name=

def schema_name=(value)

Sets the attribute schema_name