UNPKG
informixdb
Version:
latest (2.2.1)
2.2.1
2.2.0
2.1.0
1.1.0
1.0.0
Informix native node.js driver
github.com/OpenInformix/node-informixdb
informixdb
/
test
/
test-global-open-close.js
12 lines
(8 loc)
•
261 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
var common =
require
(
"./common"
) , odbc =
require
(
"../"
) ,
assert
=
require
(
"assert"
); odbc.
open
(common.connectionString,
function
(err, conn)
{
assert
.equal(err, null);
assert
.equal(conn.constructor.name,
'Database'
); conn.
close
(); });