Method: Sequel::Postgres::DatabaseMethods#drop_language

Defined in:
lib/sequel/adapters/shared/postgres.rb

#drop_language(name, opts = OPTS) ⇒ Object

Drops a procedural language from the database. Arguments:

name

name of the procedural language to drop

opts

options hash:

:cascade

Drop other objects depending on this function.

:if_exists

Don’t raise an error if the function doesn’t exist.



261
262
263
# File 'lib/sequel/adapters/shared/postgres.rb', line 261

def drop_language(name, opts=OPTS)
  self << drop_language_sql(name, opts)
end