Package pysql :: Module pysqloraobjects :: Class OraStoredObject
[hide private]
[frames] | no frames]

Class OraStoredObject

source code


Oracle package body, header for stored procedure and stored functions

Instance Methods [hide private]
 
getSQL(self, db)
Gets object SQL source code
source code
 
getSQLAsList(self, db)
Gets object SQL source code
source code
 
setSQL(self, db, sql)
Sets the object SQL code.
source code
 
_getSQL(self, db)
Common method used by getSQL and getSQLAsList
source code

Inherited from OraObject: __eq__, __hash__, __init__, __str__, getCopy, getCreated, getDDL, getFullName, getLastDDL, getName, getOwner, getStatus, getType, guessInfos, guessStatus, setName, setOwner, setStatus, setType

Method Details [hide private]

getSQL(self, db)

source code 

Gets object SQL source code

Returns:
source code (str)

getSQLAsList(self, db)

source code 

Gets object SQL source code

Returns:
source code (list of str)

setSQL(self, db, sql)

source code 

Sets the object SQL code.

Parameters:
  • sql (str) - source code