Method: PGTrunk::Operations::Functions::ChangeFunction#to_sql

Defined in:
lib/pg_trunk/operations/functions/change_function.rb

#to_sql(server_version) ⇒ Object



67
68
69
70
# File 'lib/pg_trunk/operations/functions/change_function.rb', line 67

def to_sql(server_version)
  # Use `CREATE OR REPLACE FUNCTION` to make changes
  create_function&.to_sql(server_version)
end