alsmanager_lib 2.0.69 → 2.0.70

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.
Files changed (2) hide show
  1. package/lib/modules.js +4 -0
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -2123,10 +2123,12 @@ function getDisplayPartProperties(db_used, id_device) {
2123
2123
  function existsDisplayPartPropertiesSQLite(id_device) {
2124
2124
  var query = "select count(*) from display_part ";
2125
2125
  query += "where id_device = " + id_device;
2126
+ return query;
2126
2127
  }
2127
2128
  function existsDisplayPartPropertiesMySQL(id_device) {
2128
2129
  var query = "select count(*) from display_part ";
2129
2130
  query += "where id_device = :id_device";
2131
+ return query;
2130
2132
  }
2131
2133
  function existsDisplayPartProperties(db_used, id_device) {
2132
2134
  var query = "";
@@ -2154,6 +2156,7 @@ function insertDisplayPartPropertiesSQLite(id_device, dev_prop) {
2154
2156
  function insertDisplayPartPropertiesMySQL() {
2155
2157
  var query = "insert into display_part (id_device, touch, size_inch, format, tecnology, is_removable) values ";
2156
2158
  query += "(:id_device, :touch, :size, :format, :technology, :is_removable)";
2159
+ return query;
2157
2160
  }
2158
2161
  function insertDisplayPartProperties(db_used, id_device, dev_prop) {
2159
2162
  var query = "";
@@ -2334,6 +2337,7 @@ function updateDisplayPropertiesMySQL() {
2334
2337
  query += "format = :format, ";
2335
2338
  query += "technology = :tecnology ";
2336
2339
  query += "where id_device = :id_device";
2340
+ return query;
2337
2341
  }
2338
2342
 
2339
2343
  function updateDisplayProperties(db_used, id_device, dev_prop) {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  ".": "./lib/modules.js",
5
5
  "./dbconn": "./lib/dbconn.js"
6
6
  },
7
- "version": "2.0.69",
7
+ "version": "2.0.70",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",