Class: PgObjects::ParsedObject::Function

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

Overview

FUNCTION 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/function.rb', line 7

def name
  extract_name { stmt.create_function_stmt.funcname.last.string.sval }
end