Class: ActiveRecord::ConnectionAdapters::Singlestore::TableDefinition
- Inherits:
-
TableDefinition
- Object
- TableDefinition
- ActiveRecord::ConnectionAdapters::Singlestore::TableDefinition
- Defined in:
- lib/active_record/connection_adapters/singlestore/table_definition.rb
Instance Attribute Summary collapse
-
#rowstore ⇒ Object
readonly
Returns the value of attribute rowstore.
Instance Method Summary collapse
-
#initialize(conn, name, temporary: false, if_not_exists: false, options: nil, rowstore: nil, as: nil, comment: nil) ⇒ TableDefinition
constructor
A new instance of TableDefinition.
Constructor Details
#initialize(conn, name, temporary: false, if_not_exists: false, options: nil, rowstore: nil, as: nil, comment: nil) ⇒ TableDefinition
Returns a new instance of TableDefinition.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/active_record/connection_adapters/singlestore/table_definition.rb', line 7 def initialize( conn, name, temporary: false, if_not_exists: false, options: nil, rowstore: nil, as: nil, comment: nil, ** ) @conn = conn @columns_hash = {} @indexes = [] @foreign_keys = [] @primary_keys = nil @check_constraints = [] @temporary = temporary @if_not_exists = if_not_exists = @rowstore = rowstore @as = as @name = name @comment = comment end |
Instance Attribute Details
#rowstore ⇒ Object (readonly)
Returns the value of attribute rowstore.
5 6 7 |
# File 'lib/active_record/connection_adapters/singlestore/table_definition.rb', line 5 def rowstore @rowstore end |