@noldova/context.data.sql 0.0.9 → 0.0.11
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/api/index.d.ts
CHANGED
|
@@ -347,7 +347,8 @@ export declare class SqlTransaction extends Transaction {
|
|
|
347
347
|
* number of rows it changed. A completed transaction rejects with
|
|
348
348
|
* `DataException`.
|
|
349
349
|
* A failure marks the transaction rollback-only, so the connection rolls it
|
|
350
|
-
* back even when the action catches it
|
|
350
|
+
* back even when the action catches it, with the first such failure as the
|
|
351
|
+
* `cause` of its `DataException`.
|
|
351
352
|
*/
|
|
352
353
|
public executeAsync(query: SqlQuery): Promise<number>;
|
|
353
354
|
|
|
@@ -355,7 +356,8 @@ export declare class SqlTransaction extends Transaction {
|
|
|
355
356
|
* Runs an `INSERT` in the transaction and returns the generated key. A
|
|
356
357
|
* completed transaction rejects with `DataException`.
|
|
357
358
|
* A failure marks the transaction rollback-only, so the connection rolls it
|
|
358
|
-
* back even when the action catches it
|
|
359
|
+
* back even when the action catches it, with the first such failure as the
|
|
360
|
+
* `cause` of its `DataException`.
|
|
359
361
|
*/
|
|
360
362
|
public insertAsync(query: SqlQuery): Promise<number>;
|
|
361
363
|
|
|
@@ -363,7 +365,8 @@ export declare class SqlTransaction extends Transaction {
|
|
|
363
365
|
* Runs a query in the transaction and returns its rows as records. A
|
|
364
366
|
* completed transaction rejects with `DataException`.
|
|
365
367
|
* A failure marks the transaction rollback-only, so the connection rolls it
|
|
366
|
-
* back even when the action catches it
|
|
368
|
+
* back even when the action catches it, with the first such failure as the
|
|
369
|
+
* `cause` of its `DataException`.
|
|
367
370
|
*/
|
|
368
371
|
public queryAsync(query: SqlQuery): Promise<readonly DataRecord[]>;
|
|
369
372
|
|
|
@@ -585,13 +588,31 @@ export declare class MigrationBuilder {
|
|
|
585
588
|
|
|
586
589
|
/**
|
|
587
590
|
* Adds an index named `IX_<table>_<columns>` over the selected
|
|
588
|
-
* properties
|
|
591
|
+
* properties, its parts joined by `_`. A blank table or no properties
|
|
592
|
+
* throws `ArgumentException`. Because the parts are joined by `_`, another
|
|
593
|
+
* table and columns can give the same name, such as table `notes_id` with
|
|
594
|
+
* column `text` and table `notes` with columns `id` and `text`.
|
|
595
|
+
*
|
|
596
|
+
* Two names are the same when they match once their ASCII letters are
|
|
597
|
+
* lower-cased and both are cut to their first 63 UTF-8 bytes, without
|
|
598
|
+
* splitting a character, since SQLite compares names regardless of ASCII
|
|
599
|
+
* case and PostgreSQL keeps only their first 63 bytes. A name the same as
|
|
600
|
+
* one this builder already creates throws `InvalidOperationException`. The
|
|
601
|
+
* builder sees only its own `createIndex` and `createUniqueIndex` calls, so
|
|
602
|
+
* a name the same as an index created through
|
|
603
|
+
* {@link MigrationBuilder.executeSql} or by an earlier migration fails when
|
|
604
|
+
* this migration runs.
|
|
589
605
|
*/
|
|
590
606
|
public createIndex<TModel>(table: string, ...columns: readonly ColumnSelector<TModel>[]): void;
|
|
591
607
|
|
|
592
608
|
/**
|
|
593
|
-
* Adds a unique index named `
|
|
594
|
-
* properties
|
|
609
|
+
* Adds a unique index named `UX_<table>_<columns>` over the selected
|
|
610
|
+
* properties, so it never shares its name with a plain index on the same
|
|
611
|
+
* columns. A blank table or no properties throws `ArgumentException`, and a
|
|
612
|
+
* repeated name is handled as {@link MigrationBuilder.createIndex} describes.
|
|
613
|
+
* A unique index created by a migration that already ran keeps the
|
|
614
|
+
* `IX_<table>_<columns>` name it was created with, since an applied
|
|
615
|
+
* migration doesn't run again.
|
|
595
616
|
*/
|
|
596
617
|
public createUniqueIndex<TModel>(table: string, ...columns: readonly ColumnSelector<TModel>[]): void;
|
|
597
618
|
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { nameof } from "@noldova/context.core";
|
|
9
9
|
import { Index } from "@noldova/context.data";
|
|
10
|
+
import { InvalidOperationException } from "@noldova/context.exceptions";
|
|
10
11
|
import { CreateIndexOperation } from "../operations/create-index-operation.js";
|
|
11
12
|
import { CreateTableOperation } from "../operations/create-table-operation.js";
|
|
12
13
|
import { SqlStatementOperation } from "../operations/sql-statement-operation.js";
|
|
@@ -15,6 +16,8 @@ import { Resources } from "../../resources.js";
|
|
|
15
16
|
import { ColumnsBuilder } from "./columns-builder.js";
|
|
16
17
|
import { ConstraintsBuilder } from "./constraints-builder.js";
|
|
17
18
|
export class MigrationBuilder {
|
|
19
|
+
static ASCII_UPPERCASE = /[A-Z]/g;
|
|
20
|
+
static NAME_BYTE_LIMIT = 63;
|
|
18
21
|
operations = [];
|
|
19
22
|
createTable(name, columns, constraints) {
|
|
20
23
|
const columnsBuilder = new ColumnsBuilder();
|
|
@@ -38,8 +41,30 @@ export class MigrationBuilder {
|
|
|
38
41
|
return [...this.operations];
|
|
39
42
|
}
|
|
40
43
|
addIndex(table, columns, isUnique) {
|
|
41
|
-
const
|
|
44
|
+
const prefix = isUnique ? Resources.uniqueIndexNamePrefix : Resources.indexNamePrefix;
|
|
45
|
+
const name = [prefix, table, ...columns].join(Resources.nameSeparator);
|
|
46
|
+
const key = MigrationBuilder.nameKey(name);
|
|
47
|
+
for (const operation of this.operations)
|
|
48
|
+
if (operation instanceof CreateIndexOperation && MigrationBuilder.nameKey(operation.index.name) === key)
|
|
49
|
+
throw new InvalidOperationException(Resources.formatIndexNameRepeated(name, operation.index.name));
|
|
42
50
|
this.operations.push(new CreateIndexOperation(new Index(name, table, columns, isUnique)));
|
|
43
51
|
}
|
|
52
|
+
static nameKey(name) {
|
|
53
|
+
let key = "";
|
|
54
|
+
let bytes = 0;
|
|
55
|
+
for (const character of name.replace(MigrationBuilder.ASCII_UPPERCASE, t => t.toLowerCase())) {
|
|
56
|
+
bytes += MigrationBuilder.utf8Length(character);
|
|
57
|
+
if (bytes > MigrationBuilder.NAME_BYTE_LIMIT)
|
|
58
|
+
break;
|
|
59
|
+
key += character;
|
|
60
|
+
}
|
|
61
|
+
return key;
|
|
62
|
+
}
|
|
63
|
+
static utf8Length(character) {
|
|
64
|
+
if (character.length > 1)
|
|
65
|
+
return 4;
|
|
66
|
+
const code = character.charCodeAt(0);
|
|
67
|
+
return code < 0x80 ? 1 : code < 0x800 ? 2 : 3;
|
|
68
|
+
}
|
|
44
69
|
}
|
|
45
70
|
//# sourceMappingURL=migration-builder.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migration-builder.js","sourceRoot":"","sources":["../../../../../src/data/noldova.context.data.sql/src/models/schema/migration-builder.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"migration-builder.js","sourceRoot":"","sources":["../../../../../src/data/noldova.context.data.sql/src/models/schema/migration-builder.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAE/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,MAAM,OAAO,gBAAgB;IACnB,MAAM,CAAU,eAAe,GAAW,QAAQ,CAAC;IACnD,MAAM,CAAU,eAAe,GAAW,EAAE,CAAC;IAEpC,UAAU,GAAsB,EAAE,CAAC;IAE7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CAAC;YACtB,OAAO,CAAC,CAAC;QAEX,MAAM,IAAI,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QACrC,OAAO,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAChD,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noldova/context.data.sql",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "api/index.js",
|
|
6
6
|
"types": "api/index.d.ts",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"registry": "https://registry.npmjs.org/"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@noldova/context.core": ">=0.0.
|
|
23
|
-
"@noldova/context.data": ">=0.0.
|
|
24
|
-
"@noldova/context.exceptions": ">=0.0.
|
|
22
|
+
"@noldova/context.core": ">=0.0.11 <0.1.0",
|
|
23
|
+
"@noldova/context.data": ">=0.0.11 <0.1.0",
|
|
24
|
+
"@noldova/context.exceptions": ">=0.0.11 <0.1.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "7f0d162aae71d04bc8aa6f955f8ee95cac60d89c"
|
|
27
27
|
}
|
package/resources.js
CHANGED
|
@@ -46,11 +46,15 @@ export class Resources {
|
|
|
46
46
|
static sequenceColumn = "sequence";
|
|
47
47
|
static textParameterName = "text";
|
|
48
48
|
static statementParameterName = "statement";
|
|
49
|
+
static uniqueIndexNamePrefix = "UX";
|
|
49
50
|
static unknownOperation = "The change holds an operation the feed does not know.";
|
|
50
51
|
static wordSeparator = " ";
|
|
51
52
|
static formatCreateChangesTable(identityColumnType) {
|
|
52
53
|
return `CREATE TABLE IF NOT EXISTS "__changes" ("sequence" ${identityColumnType}, "entity" TEXT NOT NULL, "entityId" TEXT NOT NULL, "operation" TEXT NOT NULL, "payload" TEXT NOT NULL, "createdAt" TEXT NOT NULL)`;
|
|
53
54
|
}
|
|
55
|
+
static formatIndexNameRepeated(name, existing) {
|
|
56
|
+
return `The index name "${name}" is the same as "${existing}", which the migration already creates, once ASCII letters are lower-cased and both are cut to 63 bytes.`;
|
|
57
|
+
}
|
|
54
58
|
static formatTableWithoutColumns(table) {
|
|
55
59
|
return `The table "${table}" defines no columns.`;
|
|
56
60
|
}
|
package/resources.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../src/data/noldova.context.data.sql/src/resources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,OAAO,SAAS;IACb,MAAM,CAAU,YAAY,GAAW,WAAW,CAAC;IACnD,MAAM,CAAU,gBAAgB,GAAW,GAAG,CAAC;IAC/C,MAAM,CAAU,mBAAmB,GAAW,QAAQ,CAAC;IACvD,MAAM,CAAU,oBAAoB,GAAW,SAAS,CAAC;IACzD,MAAM,CAAU,iBAAiB,GAAW,QAAQ,CAAC;IACrD,MAAM,CAAU,kBAAkB,GAAW,yGAAyG,CAAC;IACvJ,MAAM,CAAU,eAAe,GAAW,WAAW,CAAC;IACtD,MAAM,CAAU,WAAW,GAAW,cAAc,CAAC;IACrD,MAAM,CAAU,qBAAqB,GAAW,oGAAoG,CAAC;IACrJ,MAAM,CAAU,WAAW,GAAW,cAAc,CAAC;IACrD,MAAM,CAAU,iBAAiB,GAAW,qBAAqB,CAAC;IAClE,MAAM,CAAU,YAAY,GAAW,QAAQ,CAAC;IAChD,MAAM,CAAU,cAAc,GAAW,UAAU,CAAC;IACpD,MAAM,CAAU,sBAAsB,GAAW,MAAM,CAAC;IACxD,MAAM,CAAU,oBAAoB,GAAW,aAAa,CAAC;IAC7D,MAAM,CAAU,QAAQ,GAAW,IAAI,CAAC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