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

Class OraSynonym

source code


Oracle synonym

Instance Methods [hide private]
 
__init__(self, synonymOwner=u"PUBLIC", synonymName="")
Synonym creation
source code
 
getTarget(self, db, recursionStep=0)
Finds the oracle object targeted by this synonym.
source code

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

Method Details [hide private]

__init__(self, synonymOwner=u"PUBLIC", synonymName="")
(Constructor)

source code 

Synonym creation

Overrides: OraObject.__init__

getTarget(self, db, recursionStep=0)

source code 

Finds the oracle object targeted by this synonym. If the target is a synonym, recurse to find the real object.

Returns:
Returns the synonym target as an OraObject object