iobroker.sql 4.2.1 → 4.4.0

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 (81) hide show
  1. package/README.md +66 -12
  2. package/admin/custom/assets/Components-Biqn0PcX.js +1 -0
  3. package/admin/custom/assets/DataBrowser-DTTVoTBj.js +7 -0
  4. package/admin/custom/assets/{_virtual_mf-localSharedImportMap___mfe_internal__SqlComponentsSet__mf_owner__1-BkAtL7lu.js → _virtual_mf-localSharedImportMap___mfe_internal__SqlComponentsSet__mf_owner__1-DAGgRMdx.js} +1 -1
  5. package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__264649249385412__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-DiZBpJW2.js +1439 -0
  6. package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__264649249385412__loadShare__shared-DmziGsfK.js +2 -0
  7. package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__264649249385412__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-CY-VVm-e.js +122 -0
  8. package/admin/custom/assets/{_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__153366462090512__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js → _virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__264649249385412__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__--SURtz9t.js} +1 -1
  9. package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__264649249385412__prebuild__react_mf_2_dom_mf_1_client__prebuild__-SIym-UC8.js +9 -0
  10. package/admin/custom/assets/{dist-CSJEdwl2.js → dist-ChhOvPa4.js} +1 -1
  11. package/admin/custom/assets/helpers-CwABI1ut.js +1 -0
  12. package/admin/custom/assets/hostInit-Bp3K06oA.js +1 -0
  13. package/admin/custom/assets/index-BACEccc0.js +1 -0
  14. package/admin/custom/assets/{lib-CJNvVWNJ.js → lib-BlyWjmi5.js} +2 -2
  15. package/admin/custom/assets/{mf-entry-bootstrap-0-93bb3b2a.js → mf-entry-bootstrap-0-03451604.js} +3 -3
  16. package/admin/custom/assets/pendingShares-BhtJBPS2.js +2 -0
  17. package/admin/custom/assets/prod-m5pRY8Jx.js +15 -0
  18. package/admin/custom/assets/rolldown-runtime-COiEfhsA.js +1 -0
  19. package/admin/custom/assets/utils-Cqsn1la4.js +4 -0
  20. package/admin/custom/customComponents.js +2 -2
  21. package/admin/custom/i18n/de.json +15 -0
  22. package/admin/custom/i18n/en.json +15 -0
  23. package/admin/custom/i18n/es.json +15 -0
  24. package/admin/custom/i18n/fr.json +15 -0
  25. package/admin/custom/i18n/it.json +15 -0
  26. package/admin/custom/i18n/nl.json +15 -0
  27. package/admin/custom/i18n/pl.json +15 -0
  28. package/admin/custom/i18n/pt.json +15 -0
  29. package/admin/custom/i18n/ru.json +15 -0
  30. package/admin/custom/i18n/uk.json +15 -0
  31. package/admin/custom/i18n/zh-cn.json +15 -0
  32. package/admin/custom/mf-manifest.json +1 -1
  33. package/admin/jsonConfig.json +177 -52
  34. package/admin/jsonCustom.json +106 -27
  35. package/build/lib/connection-factory.js +5 -0
  36. package/build/lib/connection-factory.js.map +1 -1
  37. package/build/lib/errors.js +58 -0
  38. package/build/lib/errors.js.map +1 -1
  39. package/build/lib/messages.js +250 -0
  40. package/build/lib/messages.js.map +1 -1
  41. package/build/lib/mssql.js +41 -21
  42. package/build/lib/mssql.js.map +1 -1
  43. package/build/lib/mysql-client.js +87 -13
  44. package/build/lib/mysql-client.js.map +1 -1
  45. package/build/lib/mysql.js +198 -132
  46. package/build/lib/mysql.js.map +1 -1
  47. package/build/lib/names.js +47 -0
  48. package/build/lib/names.js.map +1 -0
  49. package/build/lib/optional-drivers.js.map +1 -1
  50. package/build/lib/postgresql.js +31 -16
  51. package/build/lib/postgresql.js.map +1 -1
  52. package/build/lib/sql-client-pool.js +7 -1
  53. package/build/lib/sql-client-pool.js.map +1 -1
  54. package/build/lib/sql-client.js +48 -5
  55. package/build/lib/sql-client.js.map +1 -1
  56. package/build/lib/sql-string.js +57 -0
  57. package/build/lib/sql-string.js.map +1 -0
  58. package/build/lib/sqlite.js +29 -17
  59. package/build/lib/sqlite.js.map +1 -1
  60. package/build/lib/statement.js +27 -0
  61. package/build/lib/statement.js.map +1 -0
  62. package/build/lib/values.js +42 -0
  63. package/build/lib/values.js.map +1 -1
  64. package/build/lib/write-buffer.js +80 -0
  65. package/build/lib/write-buffer.js.map +1 -0
  66. package/build/main.js +611 -367
  67. package/build/main.js.map +1 -1
  68. package/io-package.json +34 -28
  69. package/package.json +6 -6
  70. package/admin/custom/assets/Components-DSsR9Vkk.js +0 -1
  71. package/admin/custom/assets/DataBrowser-7kgmmIwY.js +0 -1
  72. package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__153366462090512__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-BJJWYgdj.js +0 -1217
  73. package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__153366462090512__loadShare__shared-Cngqjbz9.js +0 -2
  74. package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__153366462090512__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-RXcK0i6Q.js +0 -122
  75. package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__153366462090512__prebuild__react_mf_2_dom_mf_1_client__prebuild__-TBtXQFpm.js +0 -9
  76. package/admin/custom/assets/helpers-DT5-3o-l.js +0 -1
  77. package/admin/custom/assets/hostInit-ff9zqDdL.js +0 -1
  78. package/admin/custom/assets/index-BiVFssgl.js +0 -1
  79. package/admin/custom/assets/pendingShares-CpzmKQTZ.js +0 -2
  80. package/admin/custom/assets/rolldown-runtime-Dd_uD5pT.js +0 -1
  81. package/admin/custom/assets/utils-BFhwh2EC.js +0 -4
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isBoundStatement = isBoundStatement;
4
+ exports.statementToString = statementToString;
5
+ /**
6
+ * Whether a statement carries bound values.
7
+ *
8
+ * @param statement plain SQL or SQL with values
9
+ */
10
+ function isBoundStatement(statement) {
11
+ return typeof statement === 'object' && statement !== null && typeof statement.sql === 'string';
12
+ }
13
+ /**
14
+ * Text of a statement for the log.
15
+ *
16
+ * The values are appended as JSON instead of being merged into the SQL, so the log shows exactly what
17
+ * was sent to the driver.
18
+ *
19
+ * @param statement plain SQL or SQL with values
20
+ */
21
+ function statementToString(statement) {
22
+ if (!isBoundStatement(statement)) {
23
+ return statement;
24
+ }
25
+ return statement.params.length ? `${statement.sql} ${JSON.stringify(statement.params)}` : statement.sql;
26
+ }
27
+ //# sourceMappingURL=statement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statement.js","sourceRoot":"","sources":["../../src/lib/statement.ts"],"names":[],"mappings":";;AAOA,4CAEC;AAUD,8CAKC;AAtBD;;;;GAIG;AACH,SAAgB,gBAAgB,CAAC,SAAuB;IACpD,OAAO,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,KAAK,IAAI,IAAI,OAAO,SAAS,CAAC,GAAG,KAAK,QAAQ,CAAC;AACpG,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,iBAAiB,CAAC,SAAuB;IACrD,IAAI,CAAC,gBAAgB,CAAC,SAAS,CAAC,EAAE,CAAC;QAC/B,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,OAAO,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC;AAC5G,CAAC"}
@@ -8,6 +8,8 @@
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.isSameValue = isSameValue;
11
+ exports.parseLimit = parseLimit;
12
+ exports.toBool = toBool;
11
13
  /**
12
14
  * Whether a new value is the same as the one that was stored last.
13
15
  *
@@ -48,4 +50,44 @@ function isSameValue(lastStored, next) {
48
50
  // into ts_string, numbers into ts_number - so collapsing them here would lose a real transition.
49
51
  return false;
50
52
  }
53
+ /**
54
+ * Parses the "ignore values below/above" limit of a datapoint.
55
+ *
56
+ * `parseFloat(x) || null` turned a limit of `0` into "no limit", so "ignore values below 0" - which
57
+ * is also what the old `ignoreBelowZero` option is migrated to - never filtered anything.
58
+ *
59
+ * @param value the configured limit, a number or the text from the admin input
60
+ * @returns the limit, or null if the value is not a number
61
+ */
62
+ function parseLimit(value) {
63
+ // a decimal comma from `enableHistory` via sendTo, which the admin validation does not check
64
+ const limit = typeof value === 'number' ? value : parseFloat(String(value).replace(',', '.'));
65
+ return Number.isFinite(limit) ? limit : null;
66
+ }
67
+ /** Texts that are stored as `true` or `false` in `ts_bool`; compared trimmed and in lower case */
68
+ const TRUE_TEXTS = ['true', 'on', 'yes', '1'];
69
+ const FALSE_TEXTS = ['false', 'off', 'no', '0', ''];
70
+ /**
71
+ * A value for `ts_bool`: 1, 0 or NULL - the same for all dialects.
72
+ *
73
+ * The usual texts for on and off are recognized, a number is 1 unless it is 0, and anything else
74
+ * is NULL, like a text in a number column. Before, MySQL stored every text except `false`, `0` and
75
+ * `''` as true, PostgreSQL failed the batch on a text or a number, SQLite and MS SQL stored any
76
+ * non-empty text (`off` too) as true.
77
+ *
78
+ * @param val the value of the state
79
+ */
80
+ function toBool(val) {
81
+ if (typeof val === 'number') {
82
+ return Number.isFinite(val) ? (val ? 1 : 0) : null;
83
+ }
84
+ if (typeof val === 'string') {
85
+ const text = val.trim().toLowerCase();
86
+ if (TRUE_TEXTS.includes(text)) {
87
+ return 1;
88
+ }
89
+ return FALSE_TEXTS.includes(text) ? 0 : null;
90
+ }
91
+ return null;
92
+ }
51
93
  //# sourceMappingURL=values.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"values.js","sourceRoot":"","sources":["../../src/lib/values.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAoBH,kCAuBC;AAzCD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,WAAW,CAAC,UAAmB,EAAE,IAAa;IAC1D,IAAI,UAAU,KAAK,IAAI,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,4EAA4E;IAC5E,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7D,OAAO,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1D,CAAC;IAED,IAAI,UAAU,IAAI,IAAI,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QACnF,IAAI,CAAC;YACD,OAAO,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QAC/D,CAAC;QAAC,MAAM,CAAC;YACL,sFAAsF;YACtF,qCAAqC;YACrC,OAAO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;IAED,8FAA8F;IAC9F,iGAAiG;IACjG,OAAO,KAAK,CAAC;AACjB,CAAC"}
1
+ {"version":3,"file":"values.js","sourceRoot":"","sources":["../../src/lib/values.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAoBH,kCAuBC;AAWD,gCAIC;AAgBD,wBAYC;AApFD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,WAAW,CAAC,UAAmB,EAAE,IAAa;IAC1D,IAAI,UAAU,KAAK,IAAI,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,4EAA4E;IAC5E,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,OAAO,IAAI,KAAK,QAAQ,EAA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AC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACvD,CAAC;IACD,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QAC1B,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;QACtC,IAAI,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,OAAO,CAAC,CAAC;QACb,CAAC;QACD,OAAO,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACjD,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC"}
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MAX_KEPT_ROWS = exports.MAX_REQUEUED_ROWS = exports.ROWS_PER_STATEMENT = void 0;
4
+ exports.splitBatch = splitBatch;
5
+ exports.requeue = requeue;
6
+ exports.requeueCap = requeueCap;
7
+ /** Rows per INSERT: every dialect chunks its statements at this size */
8
+ exports.ROWS_PER_STATEMENT = 500;
9
+ /**
10
+ * Rows of one datapoint that are kept for a retry after the database was not reachable.
11
+ *
12
+ * At one value every 10 s this covers more than 5 hours of outage; the oldest rows are dropped first.
13
+ */
14
+ exports.MAX_REQUEUED_ROWS = 2000;
15
+ /**
16
+ * Rows of all datapoints together that are kept for a retry.
17
+ *
18
+ * The cap per datapoint alone does not bound the memory: a buffered row - the copy of the state that
19
+ * `pushHelper()` buffers - takes about 270 to 370 bytes, so 5000 datapoints with 2000 rows each would
20
+ * need about 3 GB. On a Raspberry Pi that ends with the adapter running out of memory, and every
21
+ * buffered value is lost with it. 200000 rows are about 55 to 75 MB, and up to 100 datapoints still
22
+ * get the full {@link MAX_REQUEUED_ROWS} each.
23
+ */
24
+ exports.MAX_KEPT_ROWS = 200_000;
25
+ /**
26
+ * Split a batch into groups of one table with at most {@link ROWS_PER_STATEMENT} rows.
27
+ *
28
+ * Each group becomes exactly one INSERT, so when a statement fails, it is known which rows were
29
+ * written and which were not.
30
+ *
31
+ * @param list the rows of one datapoint, in the order they were logged
32
+ * @param size rows per group
33
+ */
34
+ function splitBatch(list, size = exports.ROWS_PER_STATEMENT) {
35
+ const byTable = new Map();
36
+ for (const row of list) {
37
+ let rows = byTable.get(row.table);
38
+ if (!rows) {
39
+ rows = [];
40
+ byTable.set(row.table, rows);
41
+ }
42
+ rows.push(row);
43
+ }
44
+ const groups = [];
45
+ for (const rows of byTable.values()) {
46
+ for (let i = 0; i < rows.length; i += size) {
47
+ groups.push(rows.slice(i, i + size));
48
+ }
49
+ }
50
+ return groups;
51
+ }
52
+ /**
53
+ * Put rows that could not be written back in front of the rows logged since.
54
+ *
55
+ * Only re-queued rows are dropped to stay within the cap, the oldest first: the rows logged in the
56
+ * meantime are buffered as usual.
57
+ *
58
+ * @param current the rows that were buffered in the meantime
59
+ * @param unwritten the rows of the failed write, older than `current`
60
+ * @param cap the maximum number of rows to keep
61
+ * @returns the new buffer and the number of dropped rows
62
+ */
63
+ function requeue(current, unwritten, cap = exports.MAX_REQUEUED_ROWS) {
64
+ const rest = current || [];
65
+ const dropped = Math.min(unwritten.length, Math.max(0, unwritten.length + rest.length - cap));
66
+ return { list: [...unwritten.slice(dropped), ...rest], dropped };
67
+ }
68
+ /**
69
+ * The cap for {@link requeue}: what the buffer of one datapoint may hold after the rows of a failed
70
+ * write are put back, within the limit per datapoint and the limit for all datapoints together.
71
+ *
72
+ * @param buffered the rows in the buffer of the datapoint now
73
+ * @param keptTotal the rows of all datapoints that are kept for a retry now
74
+ * @param perDatapoint the limit for one datapoint
75
+ * @param total the limit for all datapoints together
76
+ */
77
+ function requeueCap(buffered, keptTotal, perDatapoint = exports.MAX_REQUEUED_ROWS, total = exports.MAX_KEPT_ROWS) {
78
+ return Math.min(perDatapoint, buffered + Math.max(0, total - keptTotal));
79
+ }
80
+ //# sourceMappingURL=write-buffer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"write-buffer.js","sourceRoot":"","sources":["../../src/lib/write-buffer.ts"],"names":[],"mappings":";;;AAgCA,gCAiBC;AAaD,0BAQC;AAWD,gCAOC;AAtFD,wEAAwE;AAC3D,QAAA,kBAAkB,GAAG,GAAG,CAAC;AAEtC;;;;GAIG;AACU,QAAA,iBAAiB,GAAG,IAAI,CAAC;AAEtC;;;;;;;;GAQG;AACU,QAAA,aAAa,GAAG,OAAO,CAAC;AAErC;;;;;;;;GAQG;AACH,SAAgB,UAAU,CAAiC,IAAS,EAAE,IAAI,GAAG,0BAAkB;IAC3F,MAAM,OAAO,GAAG,IAAI,GAAG,EAAkB,CAAC;IAC1C,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACrB,IAAI,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAClC,IAAI,CAAC,IAAI,EAAE,CAAC;YACR,IAAI,GAAG,EAAE,CAAC;YACV,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACjC,CAAC;QACD,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACnB,CAAC;IACD,MAAM,MAAM,GAAU,EAAE,CAAC;IACzB,KAAK,MAAM,IAAI,IAAI,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC;QAClC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC;YACzC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;QACzC,CAAC;IACL,CAAC;IACD,OAAO,MAAM,CAAC;AAClB,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,OAAO,CACnB,OAAwB,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