python-cx_Oracle/doc/variable.rst
Anthony Tuininga 4ce7d7955e Transformed documentation to new format using restructured text. Thanks to
Waldemar Osuch for contributing the initial draft of the new documentation.
2008-05-22 15:00:39 +00:00

33 lines
635 B
ReStructuredText

.. _varobj:
****************
Variable Objects
****************
.. note::
The DB API definition does not define this object.
.. attribute:: Variable.allocelems
This read-only attribute returns the number of elements allocated in an
array, or the number of scalar items that can be fetched into the variable.
.. method:: Variable.getvalue([pos=0])
Return the value at the given position in the variable.
.. attribute:: Variable.maxlength
This read-only attribute returns the maximum length of the variable.
.. method:: Variable.setvalue(pos, value)
Set the value at the given position in the variable.