Commit Graph

138 Commits

Author SHA1 Message Date
Christopher Jones 70e8bc9240 Added new APIs for Simple Oracle Document Access (SODA) 2018-09-27 15:00:21 +10:00
Christopher Jones ed8b816794 Add async/await examples 2018-09-27 15:00:20 +10:00
Christopher Jones 83147637d0 Tweak example comments 2018-09-27 15:00:20 +10:00
Christopher Jones 499998211d Added drainTime to pool.close() PR #950 (Danilo Silva) 2018-09-04 08:09:07 +10:00
Christopher Jones 58e17996d7 Added call timeouts when using Oracle client libraries 18.1 and higher 2018-08-22 13:37:36 +10:00
Christopher Jones fd0fd00291 Remove queueRequests from examples. It is obsolete in node-oracledb 3 2018-08-22 13:31:36 +10:00
Christopher Jones 2babbabce4 Advertise executeMany() 2018-08-22 13:24:13 +10:00
Christopher Jones 01ef062180 Use new documentation version-independent links 2018-08-22 13:14:25 +10:00
Christopher Jones d3bdfe8a3b Give documentation links some love, including update to 18c content 2018-08-22 13:09:26 +10:00
Christopher Jones d8453812de Drop demo table for idempotency 2018-06-27 16:53:55 +10:00
Christopher Jones c0f230ab01 Show use of binds in a CQN example 2018-05-30 11:54:42 +10:00
Christopher Jones 4f13e31004 Add Continuous Query Notification (CQN) support 2018-05-30 11:18:42 +10:00
Christopher Jones 7e15f21cfc Add connection.executeMany() for batch statement execution 2018-03-27 17:05:27 +11:00
Christopher Jones 17cc3f6036 Mention PL/SQL named param syntax. See issue #420 2018-03-27 16:29:08 +11:00
Christopher Jones 0a4ad41474 Show JSON examples with 12.2's easier dot notation 2018-03-27 16:26:51 +11:00
Christopher Jones 193fde1b2d Move more links to http://oracle.github.io/node-oracledb/ 2018-03-27 16:12:28 +11:00
Christopher Jones 155ff873aa Update doc links to point to new gh-pages site https://oracle.github.io/node-oracledb/ 2018-03-27 16:11:29 +11:00
Christopher Jones 95600c8ada Standardize some example syntax 2018-03-27 16:04:27 +11:00
Christopher Jones e81da6f7ce Add properties oracledb.oracleClientVersionString and connection.oracleServerVersionString 2018-03-27 16:01:20 +11:00
Christopher Jones 54f869d068 Add oracledb.events 2018-03-27 16:00:14 +11:00
Christopher Jones b2418fbd78 Tweak example 2018-02-14 08:50:49 +11:00
Christopher Jones 90c1756458 Remove unused variable 2018-02-06 14:06:45 +11:00
Christopher Jones 3a01f67195 Make sure querystream "close" event is the last event emitted 2018-02-06 14:04:01 +11:00
Christopher Jones c5fb03438e Link to Connor's video on how to create a user 2018-02-06 13:39:51 +11:00
Christopher Jones 4869896d51 Added support for new attributes "versionString" and "versionSuffix" 2018-02-06 13:17:33 +11:00
Christopher Jones a30f2c9bb1 Implementation of resultSet.getRow() buffering in JavaScript instead of C++. 2017-12-12 10:03:15 +11:00
Christopher Jones 885de16a56 Introduce fetchArraySize to replace prefetchRows for query fetch tuning 2017-12-12 09:56:12 +11:00
Christopher Jones bd56ed7135 Add README for examples 2017-12-12 09:42:30 +11:00
Christopher Jones 71c6853cda Show the platform to help aid any remote problem solving 2017-11-19 15:35:24 +11:00
Christopher Jones 1b4b004ed9 Lint examples 2017-11-17 22:50:42 +11:00
Christopher Jones b5c62fd3f6 Always print event trace, similar to other examples 2017-10-23 13:25:59 +11:00
Christopher Jones a7728acd5a Remove unnecessary closes 2017-10-23 13:25:34 +11:00
Christopher Jones 758c153ab6 Fix lint warnings/whitespace/formatting of some examples 2017-10-23 13:12:26 +11:00
Christopher Jones 1f5521c8ce Remove potential for double callback on error 2017-10-23 13:10:37 +11:00
Christopher Jones 9ba58c61c3 Use standard open brace position 2017-10-23 12:23:52 +11:00
Christopher Jones da2a682522 Close lobs explicitly on error to avoid DPI-1054. Avoid double callback on error 2017-10-23 12:23:05 +11:00
Christopher Jones d0a043e2fe Change sample defaults and update comment on the driver name in V$ views 2017-08-16 15:12:16 +10:00
Christopher Jones fbf81504fe Ensure that statements and LOBs are closed before the connection is closed, to match ODPI-C hardening 2017-08-01 14:14:43 +10:00
Christopher Jones b21e0f527b Do a pass on ResultSet discussion in doc and examples 2017-07-08 12:46:58 +10:00
Christopher Jones 9f421c181b Add install troubleshooting section 2017-06-29 16:35:55 +10:00
Christopher Jones e298c94e94 Remove trailing whitespace 2017-06-14 12:42:45 +10:00
Christopher Jones d5293ef7db Sync copyright in examples/ files 2017-06-14 12:37:17 +10:00
Christopher Jones c6b7f1c728 Sync examples 2017-06-14 11:56:46 +10:00
Christopher Jones 1569c17e9c Sync examples with master and update for v2 2017-06-14 11:23:10 +10:00
Christopher Jones 7ef56ee126 Fixed example indentation for consistency 2016-05-16 10:07:48 +10:00
Christopher Jones 16be352385 Merge 1.9.0-dev JavaScript changes adding Promises etc 2016-05-16 09:53:23 +10:00
Christopher Jones 84cb11ae04 Remove unused result param from DDL execute() callbacks 2016-03-24 21:40:28 +11:00
Christopher Jones 5f636f4269 Rewrite to avoid extra getRows() call at EOF 2016-03-24 21:39:22 +11:00
Christopher Jones deeccf375f Remove streamNumRows and use oracledb.maxRows until we revisit parameter passing 2016-03-24 21:37:12 +11:00
Christopher Jones 00cb1f9469 Use async waterfall to avoid nesting. Fix comment 2016-03-24 21:34:32 +11:00
Christopher Jones 7816a143b8 Remove trailing whitespace from examples 2016-03-24 21:23:57 +11:00
Christopher Jones 58df9f11b6 Add query streaming (PR 321) 2016-03-24 21:18:16 +11:00
Christopher Jones 608da77319 Add missing semi-colons uncovered by lint check 2016-02-29 13:55:19 +11:00
Christopher Jones d5cb100c98 Add sig handlers. Remove parallelism to make queue stats easier to understand 2016-02-29 13:37:34 +11:00
Christopher Jones bb55e551c0 Convert JSON examples to use async waterfall 2016-02-29 13:23:16 +11:00
Christopher Jones 3c5f3cd0fc Add example for PL/SQL Associative Array bind 2016-01-30 22:27:24 +11:00
Christopher Jones 17d9181e3d Update LOB examples 2016-01-25 22:22:06 +11:00
Christopher Jones f5a33a54fa Print Node version in example so all versions can be seen with one command 2015-12-21 22:45:51 +11:00
Christopher Jones ca9eb9f189 Update rowlimit example to use oracleServerVersion 2015-12-21 22:42:39 +11:00
Christopher Jones bc1fdf5c8a Tidy-ups for tighter JS coding standard 2015-12-21 22:31:26 +11:00
Christopher Jones 54cc80d258 Update URL to reflect changed OTN hierarchy 2015-11-15 08:28:11 +11:00
Christopher Jones 27f0fb6109 Fix example lint warning 2015-10-15 12:53:33 +11:00
Christopher Jones f096039e5c Add example of new version attributes. Update/fix LOB event examples 2015-10-15 12:52:40 +11:00
Christopher Jones 14654e53e0 Added oracledb.oracleClientVersion and connection.oracleServerVersion 2015-10-15 12:46:20 +11:00
Christopher Jones 4d4ce575de Direct new users to use Easy Connect connection syntax 2015-09-25 18:50:22 +10:00
Christopher Jones 1a478d654c Add a demo for RAW 2015-09-25 18:31:36 +10:00
Christopher Jones fd12ff2027 Fix typo in example 2015-09-25 18:25:13 +10:00
Christopher Jones a675adf653 Emit Lob end event before close. Another fix by @bjouhier 2015-09-25 18:22:01 +10:00
Christopher Jones 8d224bcb04 Remove stray characters in commments causing file encoding issues and Windows compilation warnings 2015-09-25 17:17:07 +10:00
Christopher Jones 9675ffe378 Add DBMS_OUTPUT examples 2015-09-02 21:12:54 +10:00
Christopher Jones 61a5ff6392 obsolete example 2015-08-17 16:20:36 +10:00
Christopher Jones 92672ed51d Update examples for node-oracledb 1.0 2015-08-17 16:03:41 +10:00
Christopher Jones 4582aa428a Update for REF CURSOR demo 2015-07-20 17:57:59 +10:00
Christopher Jones 4124974c9a Add Result Set and REF CURSOR examples 2015-07-20 17:53:29 +10:00
Christopher Jones 322e447324 Change to use the default pool values so people who copy the script don't think they are recommendations 2015-07-20 15:29:25 +10:00
Christopher Jones e2fc0192dd Updates for NAN 2015-05-26 14:40:40 -07:00
Christopher Jones 6cf65247af Fix naming of autoCommit in examples 2015-05-26 14:36:35 -07:00
Richard Natal 3c36d55204 Merge with tag 0.5
Signed-off-by: Richard Natal <bigous@gmail.com>
2015-05-11 17:44:46 -03:00
Christopher Jones 99f9214b77 Add example of end-to-end tracing 2015-05-04 11:11:09 -07:00
Christopher Jones d6dc629c85 Renamed isAutoCommit to autoCommit, and isExternalAuth to externalAuth. 2015-05-04 10:56:59 -07:00
Christopher Jones c884855dc7 Add DML RETURNING support 2015-05-04 10:45:55 -07:00
Christopher Jones 3844f846ac Update some examples and comments 2015-05-04 10:16:10 -07:00
Bigous a148f7dab8 Merge with latest commit from upstream.
Signed-off-by: Richard Natal <bigous@gmail.com>
2015-03-31 10:53:56 -03:00
Christopher Jones 2877c8f418 Add new metaData attribute giving query column names (https://github.com/oracle/node-oracledb/issues/6) 2015-03-28 16:31:13 -07:00
Bigous ac0a3bf46a Removed the use of deprecated sys package from webapp example 2015-03-10 17:39:05 -03:00
Christopher Jones 167e708e1e Adjust wording on terminate() to match behavior. Temporarily remove terminate() from example 2015-02-11 15:58:44 -08:00
Christopher Jones 142b0dd0b9 Add example for Oracle Database 12.1.0.2 JSON datatype support 2015-01-21 21:51:08 -08:00
Christopher Jones ffca4ce828 Preview release of node-oracledb 2015-01-20 08:51:22 -08:00