@toa.io/extensions.chronicles 1.0.0-alpha.343 → 1.0.0-alpha.344
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toa.io/extensions.chronicles",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.344",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Toa Chronicles: a log of a context, kept in ClickHouse",
|
|
6
6
|
"author": "temich <tema.gurtovoy@gmail.com>",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@toa.io/core": "1.0.0-alpha.333",
|
|
35
|
-
"@toa.io/definitions": "1.0.0-alpha.
|
|
35
|
+
"@toa.io/definitions": "1.0.0-alpha.344",
|
|
36
36
|
"@toa.io/generic": "1.0.0-alpha.332",
|
|
37
37
|
"comq": "0.29.0",
|
|
38
38
|
"openspan": "1.0.0-alpha.330"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "795a286affa7ce1b4445df6b41fc5bc04ce4900d"
|
|
41
41
|
}
|
|
@@ -81,7 +81,7 @@ export class ClickHouseProvider {
|
|
|
81
81
|
}
|
|
82
82
|
async views() {
|
|
83
83
|
const tables = await this.read(`SELECT name, as_select, create_table_query, comment FROM system.tables
|
|
84
|
-
WHERE database = ${ddl.literal(this.scope)} AND NOT startsWith(name, '.
|
|
84
|
+
WHERE database = ${ddl.literal(this.scope)} AND NOT startsWith(name, '.')
|
|
85
85
|
ORDER BY name`);
|
|
86
86
|
const refreshes = await this.read(`SELECT view, toString(last_success_time) AS refreshed FROM system.view_refreshes
|
|
87
87
|
WHERE database = ${ddl.literal(this.scope)} AND last_success_time IS NOT NULL`);
|