diff --git a/examples/example.js b/examples/example.js index adf3fc33..4fc90f58 100644 --- a/examples/example.js +++ b/examples/example.js @@ -1,4 +1,4 @@ -/* Copyright (c) 2018, 2022, Oracle and/or its affiliates. */ +/* Copyright (c) 2018, 2023, Oracle and/or its affiliates. */ /****************************************************************************** * @@ -124,7 +124,6 @@ async function run() { options = { outFormat: oracledb.OUT_FORMAT_OBJECT, // query result format // extendedMetaData: true, // get extra metadata - // prefetchRows: 100, // internal buffer allocation size for tuning // fetchArraySize: 100 // internal buffer allocation size for tuning }; diff --git a/examples/resultset1.js b/examples/resultset1.js index 6c662397..fda576ad 100644 --- a/examples/resultset1.js +++ b/examples/resultset1.js @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, 2022, Oracle and/or its affiliates. */ +/* Copyright (c) 2015, 2023, Oracle and/or its affiliates. */ /****************************************************************************** * @@ -69,7 +69,6 @@ async function run() { [], // no bind variables { resultSet: true, // return a ResultSet (default is false) - // prefetchRows: 100, // internal buffer allocation size for tuning // fetchArraySize: 100 // internal buffer allocation size for tuning } ); diff --git a/examples/select1.js b/examples/select1.js index 6c2a5d61..05cf3f44 100644 --- a/examples/select1.js +++ b/examples/select1.js @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, 2022, Oracle and/or its affiliates. */ +/* Copyright (c) 2015, 2023, Oracle and/or its affiliates. */ /****************************************************************************** * @@ -86,7 +86,6 @@ async function run() { maxRows: 1 //, outFormat: oracledb.OUT_FORMAT_OBJECT // query result format //, extendedMetaData: true // get extra metadata - //, prefetchRows: 100 // internal buffer allocation size for tuning //, fetchArraySize: 100 // internal buffer allocation size for tuning }); diff --git a/examples/select2.js b/examples/select2.js index 873e027f..6b3f33c2 100644 --- a/examples/select2.js +++ b/examples/select2.js @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, 2022, Oracle and/or its affiliates. */ +/* Copyright (c) 2015, 2023, Oracle and/or its affiliates. */ /****************************************************************************** * @@ -93,7 +93,6 @@ async function run() { [], // A bind parameter is needed to disambiguate the following options parameter and avoid ORA-01036 { outFormat: oracledb.OUT_FORMAT_OBJECT, // outFormat can be OBJECT or ARRAY. The default is ARRAY - // prefetchRows: 100, // internal buffer allocation size for tuning // fetchArraySize: 100 // internal buffer allocation size for tuning } ); diff --git a/examples/selectstream.js b/examples/selectstream.js index ce77ac92..92741d6e 100644 --- a/examples/selectstream.js +++ b/examples/selectstream.js @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2022, Oracle and/or its affiliates. */ +/* Copyright (c) 2016, 2023, Oracle and/or its affiliates. */ /****************************************************************************** * @@ -68,8 +68,7 @@ async function run() { ORDER BY id`, [], // no binds { - prefetchRows: 150, // internal buffer sizes can be adjusted for performance tuning - fetchArraySize: 150 + fetchArraySize: 150 // internal buffer allocation size for tuning } );