oracle
Advanced tools
Comparing version 0.3.7 to 0.3.8
@@ -59,3 +59,3 @@ # Detailed installation instructions | ||
* On Unbuntu/Debian | ||
* On Ubuntu/Debian | ||
@@ -62,0 +62,0 @@ ``` |
@@ -7,3 +7,3 @@ { | ||
"license": "MIT", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"engines": { | ||
@@ -10,0 +10,0 @@ "node": ">=0.6.0" |
@@ -0,1 +1,3 @@ | ||
# This library is not maintained. Oracle has made there own [driver](https://github.com/oracle/node-oracledb). | ||
# Oracle driver for Node.js | ||
@@ -2,0 +4,0 @@ |
@@ -202,2 +202,20 @@ | ||
"prepare statement": function(test) { | ||
var self = this; | ||
var stmt = self.connection.prepare("INSERT INTO person (name) VALUES (:1)"); | ||
stmt.execute(["Bill O'Neil"], function(err, count) { | ||
if(err) { console.error(err); return; } | ||
stmt.execute(["Bob Johnson"], function(err, count) { | ||
if(err) { console.error(err); return; } | ||
self.connection.execute("SELECT * FROM person WHERE name = :1", ["Bill O'Neil"], function(err, results) { | ||
if(err) { console.error(err); return; } | ||
//console.log(results); | ||
test.equal(results.length, 1); | ||
test.equal(results[0]['NAME'], "Bill O'Neil"); | ||
test.done(); | ||
}); | ||
}); | ||
}); | ||
}, | ||
"utf8_chars_in_query": function(test) { | ||
@@ -204,0 +222,0 @@ var self = this, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
120761
32
779
278
8