@vinctus/oql 1.1.6 → 1.1.7
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/README.md +5 -2
- package/main.js +27 -26
- package/main.js.map +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,11 +68,14 @@ Add the following lines to your `build.sbt`:
|
|
|
68
68
|
```sbt
|
|
69
69
|
externalResolvers += "OQL" at "https://maven.pkg.github.com/vinctustech/oql"
|
|
70
70
|
|
|
71
|
-
libraryDependencies += "com.vinctus" %%% "-vinctus-oql" % "1.1.
|
|
71
|
+
libraryDependencies += "com.vinctus" %%% "-vinctus-oql" % "1.1.7"
|
|
72
72
|
|
|
73
73
|
Compile / npmDependencies ++= Seq(
|
|
74
74
|
"pg" -> "8.10.0",
|
|
75
|
-
"@types/pg" -> "8.6.6"
|
|
75
|
+
"@types/pg" -> "8.6.6",
|
|
76
|
+
"source-map-support" -> "0.5.21",
|
|
77
|
+
"big.js" -> "6.1.1",
|
|
78
|
+
"@types/big.js" -> "6.1.3"
|
|
76
79
|
)
|
|
77
80
|
```
|
|
78
81
|
|
package/main.js
CHANGED
|
@@ -3539,10 +3539,10 @@ function $c_Lcom_vinctus_oql_DataModel(model, dml) {
|
|
|
3539
3539
|
}));
|
|
3540
3540
|
var self = $as_sc_Iterable($f_sc_IterableOps__filter__F1__O(this$100, pred));
|
|
3541
3541
|
if (($n(self).size__I() > 1)) {
|
|
3542
|
-
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x233).Lcom_vinctus_oql_Ident__f_pos, (((("junction entity '" + $n($n(linkinfo).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has more than one attribute of type '") + $n(
|
|
3542
|
+
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x233).Lcom_vinctus_oql_Ident__f_pos, (((("junction entity '" + $n($n(linkinfo).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has more than one attribute of type '") + $n(x236).Lcom_vinctus_oql_Entity__f_name) + "'"), dml)
|
|
3543
3543
|
};
|
|
3544
3544
|
if (($n(self).size__I() < 1)) {
|
|
3545
|
-
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x233).Lcom_vinctus_oql_Ident__f_pos, (((("junction entity '" + $n($n(linkinfo).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has no attributes of type '") + $n(
|
|
3545
|
+
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x233).Lcom_vinctus_oql_Ident__f_pos, (((("junction entity '" + $n($n(linkinfo).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has no attributes of type '") + $n(x236).Lcom_vinctus_oql_Entity__f_name) + "'"), dml)
|
|
3546
3546
|
};
|
|
3547
3547
|
var key$2 = $n(x232).Lcom_vinctus_oql_Ident__f_s;
|
|
3548
3548
|
var targetentity = $n($as_Lcom_vinctus_oql_DataModel$EntityInfo($f_sc_MapOps__apply__O__O(entities, key$2))).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity;
|
|
@@ -3570,10 +3570,10 @@ function $c_Lcom_vinctus_oql_DataModel(model, dml) {
|
|
|
3570
3570
|
}));
|
|
3571
3571
|
var target = $as_sc_Iterable($f_sc_IterableOps__filter__F1__O(this$110, pred$1));
|
|
3572
3572
|
if (($n(target).size__I() > 1)) {
|
|
3573
|
-
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x233).Lcom_vinctus_oql_Ident__f_pos, (((("junction entity '" + $n($n(linkinfo).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has more than one attribute of type '") + $n(
|
|
3573
|
+
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x233).Lcom_vinctus_oql_Ident__f_pos, (((("junction entity '" + $n($n(linkinfo).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has more than one attribute of type '") + $n(x232).Lcom_vinctus_oql_Ident__f_s) + "'"), dml)
|
|
3574
3574
|
};
|
|
3575
3575
|
if (($n(target).size__I() < 1)) {
|
|
3576
|
-
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x233).Lcom_vinctus_oql_Ident__f_pos, (((("junction entity '" + $n($n(linkinfo).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has no attributes of type '") + $n(
|
|
3576
|
+
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x233).Lcom_vinctus_oql_Ident__f_pos, (((("junction entity '" + $n($n(linkinfo).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has no attributes of type '") + $n(x232).Lcom_vinctus_oql_Ident__f_s) + "'"), dml)
|
|
3577
3577
|
};
|
|
3578
3578
|
var $$x4 = $n(x238);
|
|
3579
3579
|
var $$x3 = $n($n(x$1$13).Lcom_vinctus_oql_DMLAttribute__f_name).Lcom_vinctus_oql_Ident__f_s;
|
|
@@ -3680,10 +3680,10 @@ function $c_Lcom_vinctus_oql_DataModel(model, dml) {
|
|
|
3680
3680
|
}));
|
|
3681
3681
|
var attrs = $as_sc_Iterable($f_sc_IterableOps__filter__F1__O(this$141, pred$2));
|
|
3682
3682
|
if (($n(attrs).size__I() > 1)) {
|
|
3683
|
-
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x213).Lcom_vinctus_oql_Ident__f_pos, (((("entity '" + $n($n(entityinfo).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has more than one attribute of type '") + $n(
|
|
3683
|
+
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x213).Lcom_vinctus_oql_Ident__f_pos, (((("entity '" + $n($n(entityinfo).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has more than one attribute of type '") + $n(x236).Lcom_vinctus_oql_Entity__f_name) + "'"), dml)
|
|
3684
3684
|
};
|
|
3685
3685
|
if (($n(attrs).size__I() < 1)) {
|
|
3686
|
-
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x213).Lcom_vinctus_oql_Ident__f_pos, (((("entity '" + $n($n(entityinfo).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has no attributes of type '") + $n(
|
|
3686
|
+
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x213).Lcom_vinctus_oql_Ident__f_pos, (((("entity '" + $n($n(entityinfo).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has no attributes of type '") + $n(x236).Lcom_vinctus_oql_Entity__f_name) + "'"), dml)
|
|
3687
3687
|
};
|
|
3688
3688
|
var entity$3 = $n(entityinfo).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity;
|
|
3689
3689
|
var attribute = $as_Lcom_vinctus_oql_Attribute($n(attrs).head__O());
|
|
@@ -3778,10 +3778,10 @@ function $c_Lcom_vinctus_oql_DataModel(model, dml) {
|
|
|
3778
3778
|
}));
|
|
3779
3779
|
var attrs$2 = $as_sc_Iterable($f_sc_IterableOps__filter__F1__O(this$170, pred$3));
|
|
3780
3780
|
if (($n(attrs$2).size__I() > 1)) {
|
|
3781
|
-
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x203).Lcom_vinctus_oql_Ident__f_pos, (((("entity '" + $n($n(entityinfo$2).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has more than one attribute of type '") + $n(
|
|
3781
|
+
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x203).Lcom_vinctus_oql_Ident__f_pos, (((("entity '" + $n($n(entityinfo$2).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has more than one attribute of type '") + $n(x236).Lcom_vinctus_oql_Entity__f_name) + "'"), dml)
|
|
3782
3782
|
};
|
|
3783
3783
|
if (($n(attrs$2).size__I() < 1)) {
|
|
3784
|
-
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x203).Lcom_vinctus_oql_Ident__f_pos, (((("entity '" + $n($n(entityinfo$2).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has no attributes of type '") + $n(
|
|
3784
|
+
$m_Lcom_vinctus_oql_package$().printError__s_util_parsing_input_Position__T__T__N($n(x203).Lcom_vinctus_oql_Ident__f_pos, (((("entity '" + $n($n(entityinfo$2).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity).Lcom_vinctus_oql_Entity__f_name) + "' has no attributes of type '") + $n(x236).Lcom_vinctus_oql_Entity__f_name) + "'"), dml)
|
|
3785
3785
|
};
|
|
3786
3786
|
var entity$5 = $n(entityinfo$2).Lcom_vinctus_oql_DataModel$EntityInfo__f_entity;
|
|
3787
3787
|
var attribute$1 = $as_Lcom_vinctus_oql_Attribute($n(attrs$2).head__O());
|
|
@@ -6861,6 +6861,7 @@ $c_Lcom_vinctus_oql_package$.prototype.printError__s_util_parsing_input_Position
|
|
|
6861
6861
|
} else {
|
|
6862
6862
|
$n($m_s_Console$().err__Ljava_io_PrintStream()).println__T__V((((($n(pos).line__I() + ": ") + msg) + "\n") + $n(pos).longString__T()))
|
|
6863
6863
|
};
|
|
6864
|
+
$m_Lcom_vinctus_oql_package$().Lcom_vinctus_oql_package$__f_parsingError = true;
|
|
6864
6865
|
return null
|
|
6865
6866
|
});
|
|
6866
6867
|
$c_Lcom_vinctus_oql_package$.prototype.hex__C__I = (function(c) {
|
|
@@ -29801,26 +29802,26 @@ $c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.jsBulkUpdate__sjs_js_
|
|
|
29801
29802
|
var f$1 = this.bulkUpdate__sci_List__s_concurrent_Future($$x1);
|
|
29802
29803
|
return $m_sjs_js_JSConverters$JSRichFuture$().toJSPromise$extension__s_concurrent_Future__s_concurrent_ExecutionContext__sjs_js_Promise(f$1, $m_sjs_concurrent_JSExecutionContext$Implicits$().sjs_concurrent_JSExecutionContext$Implicits$__f_queue)
|
|
29803
29804
|
});
|
|
29804
|
-
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.update = (function(arg, arg$2) {
|
|
29805
|
-
return this.jsUpdate__sjs_js_Any__sjs_js_Any__sjs_js_Promise(arg, arg$2)
|
|
29806
|
-
});
|
|
29807
29805
|
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.link = (function(arg, arg$2, arg$3) {
|
|
29808
29806
|
var prep1 = $as_T(arg$2);
|
|
29809
29807
|
return this.jsLink__sjs_js_Any__T__sjs_js_Any__sjs_js_Promise(arg, prep1, arg$3)
|
|
29810
29808
|
});
|
|
29811
|
-
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.insert = (function(arg) {
|
|
29812
|
-
return this.jsInsert__sjs_js_Dictionary__sjs_js_Promise(arg)
|
|
29813
|
-
});
|
|
29814
29809
|
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.unlink = (function(arg, arg$2, arg$3) {
|
|
29815
29810
|
var prep1 = $as_T(arg$2);
|
|
29816
29811
|
return this.jsUnlink__sjs_js_Any__T__sjs_js_Any__sjs_js_Promise(arg, prep1, arg$3)
|
|
29817
29812
|
});
|
|
29818
|
-
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.delete = (function(arg) {
|
|
29819
|
-
return this.jsDelete__sjs_js_Any__sjs_js_Promise(arg)
|
|
29820
|
-
});
|
|
29821
29813
|
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.bulkUpdate = (function(arg) {
|
|
29822
29814
|
return this.jsBulkUpdate__sjs_js_Array__sjs_js_Promise(arg)
|
|
29823
29815
|
});
|
|
29816
|
+
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.insert = (function(arg) {
|
|
29817
|
+
return this.jsInsert__sjs_js_Dictionary__sjs_js_Promise(arg)
|
|
29818
|
+
});
|
|
29819
|
+
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.update = (function(arg, arg$2) {
|
|
29820
|
+
return this.jsUpdate__sjs_js_Any__sjs_js_Any__sjs_js_Promise(arg, arg$2)
|
|
29821
|
+
});
|
|
29822
|
+
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.delete = (function(arg) {
|
|
29823
|
+
return this.jsDelete__sjs_js_Any__sjs_js_Promise(arg)
|
|
29824
|
+
});
|
|
29824
29825
|
var $d_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG = new $TypeData().initClass({
|
|
29825
29826
|
Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG: 0
|
|
29826
29827
|
}, false, "com.vinctus.oql.Mutation_JS_NodePG", {
|
|
@@ -29960,26 +29961,26 @@ $c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.jsBulkUpdate__sjs_js_Arr
|
|
|
29960
29961
|
var f$1 = this.bulkUpdate__sci_List__s_concurrent_Future($$x1);
|
|
29961
29962
|
return $m_sjs_js_JSConverters$JSRichFuture$().toJSPromise$extension__s_concurrent_Future__s_concurrent_ExecutionContext__sjs_js_Promise(f$1, $m_sjs_concurrent_JSExecutionContext$Implicits$().sjs_concurrent_JSExecutionContext$Implicits$__f_queue)
|
|
29962
29963
|
});
|
|
29963
|
-
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.update = (function(arg, arg$2) {
|
|
29964
|
-
return this.jsUpdate__sjs_js_Any__sjs_js_Any__sjs_js_Promise(arg, arg$2)
|
|
29965
|
-
});
|
|
29966
29964
|
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.link = (function(arg, arg$2, arg$3) {
|
|
29967
29965
|
var prep1 = $as_T(arg$2);
|
|
29968
29966
|
return this.jsLink__sjs_js_Any__T__sjs_js_Any__sjs_js_Promise(arg, prep1, arg$3)
|
|
29969
29967
|
});
|
|
29970
|
-
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.insert = (function(arg) {
|
|
29971
|
-
return this.jsInsert__sjs_js_Dictionary__sjs_js_Promise(arg)
|
|
29972
|
-
});
|
|
29973
29968
|
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.unlink = (function(arg, arg$2, arg$3) {
|
|
29974
29969
|
var prep1 = $as_T(arg$2);
|
|
29975
29970
|
return this.jsUnlink__sjs_js_Any__T__sjs_js_Any__sjs_js_Promise(arg, prep1, arg$3)
|
|
29976
29971
|
});
|
|
29977
|
-
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.delete = (function(arg) {
|
|
29978
|
-
return this.jsDelete__sjs_js_Any__sjs_js_Promise(arg)
|
|
29979
|
-
});
|
|
29980
29972
|
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.bulkUpdate = (function(arg) {
|
|
29981
29973
|
return this.jsBulkUpdate__sjs_js_Array__sjs_js_Promise(arg)
|
|
29982
29974
|
});
|
|
29975
|
+
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.insert = (function(arg) {
|
|
29976
|
+
return this.jsInsert__sjs_js_Dictionary__sjs_js_Promise(arg)
|
|
29977
|
+
});
|
|
29978
|
+
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.update = (function(arg, arg$2) {
|
|
29979
|
+
return this.jsUpdate__sjs_js_Any__sjs_js_Any__sjs_js_Promise(arg, arg$2)
|
|
29980
|
+
});
|
|
29981
|
+
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.delete = (function(arg) {
|
|
29982
|
+
return this.jsDelete__sjs_js_Any__sjs_js_Promise(arg)
|
|
29983
|
+
});
|
|
29983
29984
|
var $d_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB = new $TypeData().initClass({
|
|
29984
29985
|
Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB: 0
|
|
29985
29986
|
}, false, "com.vinctus.oql.Mutation_JS_RDB", {
|