Package backend :: Package server :: Package rhnSQL :: Module driver_cx_Oracle :: Class Procedure
[hide private]
[frames] | no frames]

Class Procedure

source code


Class for calling out to stored procedures.

Written to behave very much like a Python function in that these Procedure objects are "callable".

See database specific implementations for more details.

Nested Classes [hide private]
  OracleError
Instance Methods [hide private]
 
__init__(self, name, cursor) source code
 
__call__(self, *args)
Wrap the __call__ method from the parent class to catch Oracle specific actions and convert them to something generic.
source code
 
_munge_args(self, args)
Converts database specific argument types to those defined in sql_base.
source code
 
_munge_arg(self, val) source code
 
_call_proc(self, args) source code
 
_call_proc_ret(self, args, ret_type=None) source code

Inherited from sql_base.Procedure: __del__

Method Details [hide private]

__init__(self, name, cursor)
(Constructor)

source code 
Overrides: sql_base.Procedure.__init__