Reference documentation and code samples for the activerecord-spanner-adapter class ActiveRecord::ConnectionAdapters::Spanner::TypeMetadata.
Inherits
- SqlTypeMetadata
Includes
- Deduplicable
Methods
#==
def ==(other)
Aliases
#allow_commit_timestamp
def allow_commit_timestamp()Returns the value of attribute allow_commit_timestamp.
#eql?
def eql?(other)
Alias Of: #==
#generated
def generated()Returns the value of attribute generated.
#hash
def hash()#initialize
def initialize(type_metadata, ordinal_position: nil, allow_commit_timestamp: nil, generated: nil, is_identity: false) -> TypeMetadata
Returns
- (TypeMetadata) — a new instance of TypeMetadata
#is_identity
def is_identity()Returns the value of attribute is_identity.
#ordinal_position
def ordinal_position()Returns the value of attribute ordinal_position.