Class: PgObjects::ParsedObject::Sequence

Inherits:
Base
  • Object
show all
Defined in:
lib/pg_objects/parsed_object/sequence.rb

Overview

SEQUENCE object representation

Instance Method Summary collapse

Methods inherited from Base

#initialize, #qualified_name

Constructor Details

This class inherits a constructor from PgObjects::ParsedObject::Base

Instance Method Details

#nameObject



7
8
9
# File 'lib/pg_objects/parsed_object/sequence.rb', line 7

def name
  extract_name { stmt.create_seq_stmt.sequence.relname }
end