Added documentation stating that batch errors and array DML row counts are only
supported when executing insert, update, delete and merge statements and that in all other cases an exception will be raised (https://github.com/oracle/python-cx_Oracle/issues/31).
This commit is contained in:
parent
fac7f9c3cf
commit
4f5c04f50c
@ -191,6 +191,10 @@ Cursor Object
|
||||
retrieved from Oracle after the method has completed. The row counts can
|
||||
then be retrieved using :meth:`~Cursor.getarraydmlrowcounts()`.
|
||||
|
||||
Both the batcherrors parameter and the arraydmlrowcounts parameter can only
|
||||
be true when executing an insert, update, delete or merge statement; in all
|
||||
other cases an error will be raised.
|
||||
|
||||
For maximum efficiency, it is best to use the
|
||||
:meth:`~Cursor.setinputsizes()` method to specify the parameter types and
|
||||
sizes ahead of time; in particular, None is assumed to be a string of
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user