Class: PgPartitions::SQL::DeleteFunction

Inherits:
Function
  • Object
show all
Defined in:
lib/pg_partitions/sql.rb

Instance Attribute Summary

Attributes inherited from Function

#body, #name, #table

Instance Method Summary collapse

Methods inherited from Function

#to_sql

Constructor Details

#initialize(table, name) ⇒ DeleteFunction

Returns a new instance of DeleteFunction.



61
62
63
# File 'lib/pg_partitions/sql.rb', line 61

def initialize(table, name)
  super(table, name, delete_statement(table))
end