xardao 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@
5
5
  "version": "0.2.0",
6
6
  "configurations": [
7
7
  {
8
- "type": "node",
8
+ "type": "pwa-node",
9
9
  "request": "launch",
10
10
  "name": "Launch Program",
11
11
  "skipFiles": [
package/lib/xardao.js CHANGED
@@ -106,6 +106,10 @@ exports.express.usingDBConnection = function usingDBConnection(connSpec, page )
106
106
  }
107
107
  else throw "Invalid database specification"
108
108
 
109
+ if (typeof(connInfo) == 'string') {
110
+ connInfo = { driver:connInfo, dbInfo: undefined}
111
+ }
112
+
109
113
  var db = Connection(connInfo.driver)
110
114
  db.debugMode = connInfo.debugMode || false
111
115
  db.openCB(connInfo.dbInfo,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xardao",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Common Relational Data Access library",
5
5
  "main": "./lib/xardao.js",
6
6
  "scripts": {
@@ -3,5 +3,6 @@
3
3
  {
4
4
  "path": "."
5
5
  }
6
- ]
6
+ ],
7
+ "settings": {}
7
8
  }