Module: PgSaurus::ConnectionAdapters::AbstractAdapter::FunctionMethods
- Included in:
- PgSaurus::ConnectionAdapters::AbstractAdapter
- Defined in:
- lib/pg_saurus/connection_adapters/abstract_adapter/function_methods.rb
Overview
Adapter definitions for DB functions.
Instance Method Summary collapse
-
#create_function(function_name, returning, definition, options = {}) ⇒ Object
Create a database function.
-
#drop_function(function_name, options) ⇒ Object
Delete the database function.
-
#functions ⇒ Object
Return the listing of currently defined DB functions.
-
#supports_functions? ⇒ Boolean
:nodoc.
Instance Method Details
#create_function(function_name, returning, definition, options = {}) ⇒ Object
Create a database function.
10 11 12 |
# File 'lib/pg_saurus/connection_adapters/abstract_adapter/function_methods.rb', line 10 def create_function(function_name, returning, definition, = {}) end |
#drop_function(function_name, options) ⇒ Object
Delete the database function.
15 16 17 |
# File 'lib/pg_saurus/connection_adapters/abstract_adapter/function_methods.rb', line 15 def drop_function(function_name, ) end |
#functions ⇒ Object
Return the listing of currently defined DB functions.
20 21 22 |
# File 'lib/pg_saurus/connection_adapters/abstract_adapter/function_methods.rb', line 20 def functions end |
#supports_functions? ⇒ Boolean
:nodoc
5 6 7 |
# File 'lib/pg_saurus/connection_adapters/abstract_adapter/function_methods.rb', line 5 def supports_functions? false end |