Initial test and documentation updates
This commit is contained in:
parent
43d0e51fe3
commit
faa59030b5
|
@ -1399,15 +1399,6 @@ Connection Methods
|
|||
It is only present if a DML statement was executed.
|
||||
|
||||
Due to Node.js type limitations, the largest value shown will be 232 - 1, even if more rows were affected. Larger values will wrap.
|
||||
* - ``warning``
|
||||
- Object
|
||||
- .. _execmanywarning:
|
||||
|
||||
This property provides an :ref:`error <errorobj>` object that gives information about any database warnings (such as PL/SQL compilation warnings) that were generated during the last call to :meth:`connection.executeMany()`.
|
||||
|
||||
See :ref:`plsqlcompwarnings` for more information.
|
||||
|
||||
.. versionadded:: 6.3
|
||||
|
||||
.. method:: connection.getDbObjectClass()
|
||||
|
||||
|
|
|
@ -16,10 +16,7 @@ Common Changes
|
|||
#) Added a :ref:`warning <execwarning>` property to the
|
||||
:ref:`result <resultobject>` object for database warnings (such as PL/SQL
|
||||
compilation warnings) that are generated by calls to
|
||||
:meth:`connection.execute()`. Also, added the
|
||||
:ref:`warning <execmanywarning>` property to the
|
||||
:ref:`result <resultobjproperties>` object of
|
||||
:meth:`connection.executeMany()`.
|
||||
:meth:`connection.execute()`.
|
||||
|
||||
#) Added a :attr:`connection.warning` property for warnings (such as the
|
||||
password being in the grace period) that are generated during connection.
|
||||
|
|
|
@ -940,7 +940,7 @@ Overview of node-oracledb functional tests
|
|||
63.1 nested execute() functions
|
||||
|
||||
64. sqlWithWarnings.js
|
||||
64.1 test case offered by GitHub user
|
||||
64.1 SQL - Success With Info
|
||||
64.1.1 Executes an aggregate query which causes warnings
|
||||
64.2 PL/SQL - Success With Info
|
||||
64.2.1 Execute SQL Statement to create PLSQL procedure with warnings
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
* table will result in warnings (OCI_SUCCESS_WITH_INFO).
|
||||
*
|
||||
*****************************************************************************/
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
const oracledb = require('oracledb');
|
||||
const assert = require('assert');
|
||||
|
@ -48,7 +48,7 @@ describe('64. sqlWithWarnings.js', function() {
|
|||
await connection.close();
|
||||
});
|
||||
|
||||
describe('64.1 test case offered by GitHub user', function() {
|
||||
describe('64.1 SQL - Success With Info', function() {
|
||||
|
||||
const tableName = "nodb_aggregate";
|
||||
|
||||
|
@ -102,7 +102,7 @@ describe('64. sqlWithWarnings.js', function() {
|
|||
|
||||
it('64.2.1 Execute SQL Statement to create PLSQL procedure with warnings', async function() {
|
||||
assert.strictEqual(typeof connection, "object");
|
||||
await connection.execute (plsqlWithWarning);
|
||||
await connection.execute(plsqlWithWarning);
|
||||
}); // 64.2.1
|
||||
|
||||
}); // 64.2
|
||||
|
|
Loading…
Reference in New Issue