Skip to content

Commit aed5037

Browse files
Mike Kari AndersonMike Kari Anderson
Mike Kari Anderson
authored and
Mike Kari Anderson
committed
Fixed type on line 8 prepare should have been prepareStatement
1 parent 36be3e1 commit aed5037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/adodb/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var Database = require('database-js2').Connection;
55
let statement, results;
66

77
try {
8-
statement = await connection.prepare("SELECT * FROM [Sheet1$A1:C52] WHERE State = ?");
8+
statement = await connection.prepareStatement("SELECT * FROM [Sheet1$A1:C52] WHERE State = ?");
99
results = await statement.query('South Dakota');
1010
console.log(results);
1111
} catch (err) {

0 commit comments

Comments
 (0)