Method: Sequel::Postgres::DatabaseMethods#drop_function
- Defined in:
- lib/sequel/adapters/shared/postgres.rb
#drop_function(name, opts = OPTS) ⇒ Object
Drops the function from the database. Arguments:
- name
-
name of the function to drop
- opts
-
options hash:
- :args
-
The arguments for the function. See create_function_sql.
- :cascade
-
Drop other objects depending on this function.
- :if_exists
-
Don’t raise an error if the function doesn’t exist.
252 253 254 |
# File 'lib/sequel/adapters/shared/postgres.rb', line 252 def drop_function(name, opts=OPTS) self << drop_function_sql(name, opts) end |