Add a note indicating that TABLE%ROWTYPE records can also be used.

This commit is contained in:
Anthony Tuininga 2019-01-22 14:27:43 -07:00
parent ed88224241
commit 2cfdb4037c

View File

@ -21,6 +21,7 @@ connection = cx_Oracle.connect(SampleEnv.MAIN_CONNECT_STRING)
# create new object of the correct type # create new object of the correct type
# note the use of a PL/SQL record defined in a package # note the use of a PL/SQL record defined in a package
# a table record identified by TABLE%ROWTYPE can also be used
typeObj = connection.gettype("PKG_DEMO.UDT_DEMORECORD") typeObj = connection.gettype("PKG_DEMO.UDT_DEMORECORD")
obj = typeObj.newobject() obj = typeObj.newobject()
obj.NUMBERVALUE = 6 obj.NUMBERVALUE = 6