activerecord-spanner-adapter - Class ActiveRecord::ConnectionAdapters::Spanner::TableDefinition (v2.0.0)

Reference documentation and code samples for the activerecord-spanner-adapter class ActiveRecord::ConnectionAdapters::Spanner::TableDefinition.

Inherits

  • ActiveRecord::ConnectionAdapters::TableDefinition

Methods

#belongs_to

def belongs_to(*args, **options)
Alias Of: #references

#interleave_in

def interleave_in(parent, on_delete = nil)

#interleave_in?

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

#interleave_in_parent

def interleave_in_parent()

Returns the value of attribute interleave_in_parent.

#new_column_definition

def new_column_definition(name, type, **options)

#on_delete

def on_delete()

#parent_key

def parent_key(name, type: nil)

#references

def references(*args, **options)
Aliases

#valid_column_definition_options

def valid_column_definition_options()