Oracle Magazine, September/October 2017
Database Developer OPEN SOURCE Using the Callback Pattern and the Async Module Heres Part 2 in a four part series on asynchronous Node js development In the previous article in this series Asynchronous Processing in Node js I covered some of the basics of asynchronous programming in Node js In this article Ill dive deeper into the topic and share some of the patterns used for this development including the Node js callback pattern and the Async module The examples in the first article used setTimeout to simulate asynchronous work Because setTimeout is a simple timer API theres no chance of an errors occurring But this is not the case with real asynchronous work Whether youre writing to a file interacting with a REST API or executing a database query errors can and will occur In this article youll use Node js to execute a SQL query in Oracle Database This is a three step process that must be done serially first obtain a connection ORACLE MAGAZINE SEPTEMBER OCTOBER 2017 46 By Dan McGhan
You must have JavaScript enabled to view digital editions.