Class: ROM::SQL::Schema::DSL Deprecated

Inherits:
ROM::Schema::DSL
  • Object
show all
Defined in:
lib/rom/sql/schema/dsl.rb

Overview

Deprecated.

Specialized schema DSL with SQL-specific features

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#index_dslObject (readonly)



16
17
18
# File 'lib/rom/sql/schema/dsl.rb', line 16

def index_dsl
  @index_dsl
end

Instance Method Details

#indexes(&block) ⇒ Object

Define indexes within a block



21
22
23
# File 'lib/rom/sql/schema/dsl.rb', line 21

def indexes(&block)
  @index_dsl = IndexDSL.new(**options, &block)
end