@@ -8,9 +8,11 @@ Calling :meth:`connection.getDbObjectClass()` returns a prototype object
8
8
representing a named Oracle Database object or collection. Use
9
9
``dbObject.prototype `` on the class to see the available attributes.
10
10
11
- Objects of a named DbObject type are: - created from a DbObject
12
- prototype by calling ``new() `` - returned by queries - returned when
13
- using BIND_OUT for an Oracle Database object.
11
+ Objects of a named DbObject type are:
12
+
13
+ - created from a DbObject prototype by calling ``new() ``
14
+ - returned by queries
15
+ - returned when using BIND_OUT for an Oracle Database object
14
16
15
17
See :ref: `Oracle Database Objects and Collections <objects >` for more
16
18
information.
@@ -26,10 +28,10 @@ The properties of a DbObject object are listed below.
26
28
27
29
.. attribute :: dbObject.attributes
28
30
29
- This property is an object. When `` dbObject.isCollection `` is * false *,
30
- this will be an object containing attributes corresponding to the Oracle
31
- Database object attributes. The name of each attribute follows normal
32
- Oracle casing semantics.
31
+ This read-only property is an object. When :attr: ` dbObject.isCollection `
32
+ is * false *, this will be an object containing attributes corresponding to
33
+ the Oracle Database object attributes. The name of each attribute follows
34
+ normal Oracle casing semantics.
33
35
34
36
Each attribute will have an object that contains:
35
37
@@ -57,19 +59,19 @@ The properties of a DbObject object are listed below.
57
59
58
60
.. attribute :: dbObject.elementType
59
61
60
- This read-only property is a number. When `` dbObject.isCollection ` ` is
62
+ This read-only property is a number. When :attr: ` dbObject.isCollection ` is
61
63
*true *, this will have a value corresponding to one of the
62
64
:ref: `Oracle Database Type Constants <oracledbconstantsdbtype >`.
63
65
64
66
.. attribute :: dbObject.elementTypeClass
65
67
66
- This read-only property is an object. When `` dbObject.isCollection `` is
67
- *true * and the elements in the collection refer to database objects, this
68
- property provides the type class information of the elements.
68
+ This read-only property is an object. When :attr: ` dbObject.isCollection `
69
+ is *true * and the elements in the collection refer to database objects,
70
+ this property provides the type class information of the elements.
69
71
70
72
.. attribute :: dbObject.elementTypeName
71
73
72
- This read-only property is a string. When `` dbObject.isCollection ` ` is
74
+ This read-only property is a string. When :attr: ` dbObject.isCollection ` is
73
75
*true *, this will have the name of the element type, such as “VARCHAR2”
74
76
or “NUMBER”.
75
77
@@ -85,7 +87,7 @@ The properties of a DbObject object are listed below.
85
87
86
88
.. attribute :: dbObject.length
87
89
88
- This read-only property is a number. When `` dbObject.isCollection ` ` is
90
+ This read-only property is a number. When :attr: ` dbObject.isCollection ` is
89
91
*true *, this will have the number of elements in the collection. It is
90
92
undefined for non-collections.
91
93
0 commit comments