Class: PgObjects::ParsedObject::RangeType
- Defined in:
- lib/pg_objects/parsed_object/range_type.rb
Overview
RANGE TYPE object representation (CREATE TYPE ... AS RANGE)
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from PgObjects::ParsedObject::Base
Instance Method Details
#name ⇒ Object
7 8 9 |
# File 'lib/pg_objects/parsed_object/range_type.rb', line 7 def name extract_name { stmt.create_range_stmt.type_name.last.string.sval } end |