@vinctus/oql 1.1.0-pre.17 → 1.1.0-pre.18
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/index.js +932 -452
- package/package.json +3 -5
package/index.js
CHANGED
|
@@ -4580,48 +4580,48 @@ $c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.$js$exported$meth
|
|
|
4580
4580
|
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.$js$exported$meth$getCount__O = (function() {
|
|
4581
4581
|
return this.getCount__sjs_js_Promise()
|
|
4582
4582
|
});
|
|
4583
|
-
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.
|
|
4584
|
-
|
|
4583
|
+
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.cond = (function(arg) {
|
|
4584
|
+
var prep0 = arg;
|
|
4585
|
+
return this.$js$exported$meth$cond__O__O(prep0)
|
|
4586
|
+
});
|
|
4587
|
+
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.order = (function(arg, arg$2) {
|
|
4588
|
+
var prep0 = $as_T(arg);
|
|
4589
|
+
var prep1 = $as_T(arg$2);
|
|
4590
|
+
return this.$js$exported$meth$order__T__T__O(prep0, prep1)
|
|
4585
4591
|
});
|
|
4586
4592
|
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.offset = (function(arg) {
|
|
4587
4593
|
var prep0 = $uI(arg);
|
|
4588
4594
|
return this.$js$exported$meth$offset__I__O(prep0)
|
|
4589
4595
|
});
|
|
4590
|
-
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.cond = (function(arg) {
|
|
4591
|
-
var prep0 = arg;
|
|
4592
|
-
return this.$js$exported$meth$cond__O__O(prep0)
|
|
4593
|
-
});
|
|
4594
4596
|
Object.defineProperty($c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype, "select$default$2", {
|
|
4595
4597
|
"get": (function() {
|
|
4596
4598
|
return this.$js$exported$prop$select$default$2__O()
|
|
4597
4599
|
}),
|
|
4598
4600
|
"configurable": true
|
|
4599
4601
|
});
|
|
4600
|
-
Object.defineProperty($c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype, "query$default$2", {
|
|
4601
|
-
"get": (function() {
|
|
4602
|
-
return this.$js$exported$prop$query$default$2__O()
|
|
4603
|
-
}),
|
|
4604
|
-
"configurable": true
|
|
4605
|
-
});
|
|
4606
4602
|
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.getMany = (function() {
|
|
4607
4603
|
return this.$js$exported$meth$getMany__O()
|
|
4608
4604
|
});
|
|
4605
|
+
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.limit = (function(arg) {
|
|
4606
|
+
var prep0 = $uI(arg);
|
|
4607
|
+
return this.$js$exported$meth$limit__I__O(prep0)
|
|
4608
|
+
});
|
|
4609
4609
|
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.query = (function(arg, ...rest) {
|
|
4610
4610
|
var prep0 = $as_T(arg);
|
|
4611
4611
|
var prep1 = ((rest[0] === (void 0)) ? this.$js$exported$meth$query$default$2__O() : rest[0]);
|
|
4612
4612
|
return this.$js$exported$meth$query__T__O__O(prep0, prep1)
|
|
4613
4613
|
});
|
|
4614
|
-
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4614
|
+
Object.defineProperty($c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype, "query$default$2", {
|
|
4615
|
+
"get": (function() {
|
|
4616
|
+
return this.$js$exported$prop$query$default$2__O()
|
|
4617
|
+
}),
|
|
4618
|
+
"configurable": true
|
|
4618
4619
|
});
|
|
4619
4620
|
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.getCount = (function() {
|
|
4620
4621
|
return this.$js$exported$meth$getCount__O()
|
|
4621
4622
|
});
|
|
4622
|
-
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.
|
|
4623
|
-
|
|
4624
|
-
return this.$js$exported$meth$limit__I__O(prep0)
|
|
4623
|
+
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.getOne = (function() {
|
|
4624
|
+
return this.$js$exported$meth$getOne__O()
|
|
4625
4625
|
});
|
|
4626
4626
|
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG.prototype.select = (function(arg, ...rest) {
|
|
4627
4627
|
var prep0 = $as_T(arg);
|
|
@@ -4820,53 +4820,53 @@ $c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.$js$exported$meth$ge
|
|
|
4820
4820
|
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.$js$exported$meth$getCount__O = (function() {
|
|
4821
4821
|
return this.getCount__sjs_js_Promise()
|
|
4822
4822
|
});
|
|
4823
|
-
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.
|
|
4824
|
-
|
|
4823
|
+
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.cond = (function(arg) {
|
|
4824
|
+
var prep0 = arg;
|
|
4825
|
+
return this.$js$exported$meth$cond__O__O(prep0)
|
|
4826
|
+
});
|
|
4827
|
+
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.order = (function(arg, arg$2) {
|
|
4828
|
+
var prep0 = $as_T(arg);
|
|
4829
|
+
var prep1 = $as_T(arg$2);
|
|
4830
|
+
return this.$js$exported$meth$order__T__T__O(prep0, prep1)
|
|
4825
4831
|
});
|
|
4826
4832
|
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.offset = (function(arg) {
|
|
4827
4833
|
var prep0 = $uI(arg);
|
|
4828
4834
|
return this.$js$exported$meth$offset__I__O(prep0)
|
|
4829
4835
|
});
|
|
4830
|
-
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.select = (function(arg, ...rest) {
|
|
4831
|
-
var prep0 = $as_T(arg);
|
|
4832
|
-
var prep1 = ((rest[0] === (void 0)) ? this.$js$exported$meth$select$default$2__O() : rest[0]);
|
|
4833
|
-
return this.$js$exported$meth$select__T__O__O(prep0, prep1)
|
|
4834
|
-
});
|
|
4835
|
-
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.cond = (function(arg) {
|
|
4836
|
-
var prep0 = arg;
|
|
4837
|
-
return this.$js$exported$meth$cond__O__O(prep0)
|
|
4838
|
-
});
|
|
4839
4836
|
Object.defineProperty($c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype, "select$default$2", {
|
|
4840
4837
|
"get": (function() {
|
|
4841
4838
|
return this.$js$exported$prop$select$default$2__O()
|
|
4842
4839
|
}),
|
|
4843
4840
|
"configurable": true
|
|
4844
4841
|
});
|
|
4845
|
-
Object.defineProperty($c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype, "query$default$2", {
|
|
4846
|
-
"get": (function() {
|
|
4847
|
-
return this.$js$exported$prop$query$default$2__O()
|
|
4848
|
-
}),
|
|
4849
|
-
"configurable": true
|
|
4850
|
-
});
|
|
4851
4842
|
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.getMany = (function() {
|
|
4852
4843
|
return this.$js$exported$meth$getMany__O()
|
|
4853
4844
|
});
|
|
4845
|
+
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.limit = (function(arg) {
|
|
4846
|
+
var prep0 = $uI(arg);
|
|
4847
|
+
return this.$js$exported$meth$limit__I__O(prep0)
|
|
4848
|
+
});
|
|
4854
4849
|
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.query = (function(arg, ...rest) {
|
|
4855
4850
|
var prep0 = $as_T(arg);
|
|
4856
4851
|
var prep1 = ((rest[0] === (void 0)) ? this.$js$exported$meth$query$default$2__O() : rest[0]);
|
|
4857
4852
|
return this.$js$exported$meth$query__T__O__O(prep0, prep1)
|
|
4858
4853
|
});
|
|
4859
|
-
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4854
|
+
Object.defineProperty($c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype, "query$default$2", {
|
|
4855
|
+
"get": (function() {
|
|
4856
|
+
return this.$js$exported$prop$query$default$2__O()
|
|
4857
|
+
}),
|
|
4858
|
+
"configurable": true
|
|
4863
4859
|
});
|
|
4864
4860
|
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.getCount = (function() {
|
|
4865
4861
|
return this.$js$exported$meth$getCount__O()
|
|
4866
4862
|
});
|
|
4867
|
-
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.
|
|
4868
|
-
|
|
4869
|
-
|
|
4863
|
+
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.getOne = (function() {
|
|
4864
|
+
return this.$js$exported$meth$getOne__O()
|
|
4865
|
+
});
|
|
4866
|
+
$c_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB.prototype.select = (function(arg, ...rest) {
|
|
4867
|
+
var prep0 = $as_T(arg);
|
|
4868
|
+
var prep1 = ((rest[0] === (void 0)) ? this.$js$exported$meth$select$default$2__O() : rest[0]);
|
|
4869
|
+
return this.$js$exported$meth$select__T__O__O(prep0, prep1)
|
|
4870
4870
|
});
|
|
4871
4871
|
var $d_Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB = new $TypeData().initClass({
|
|
4872
4872
|
Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB: 0
|
|
@@ -8475,59 +8475,62 @@ function $h_Lio_github_edadma_rdb_ConnectSQL() {
|
|
|
8475
8475
|
/*<skip>*/
|
|
8476
8476
|
}
|
|
8477
8477
|
$h_Lio_github_edadma_rdb_ConnectSQL.prototype = $c_Lio_github_edadma_rdb_ConnectSQL.prototype;
|
|
8478
|
-
$c_Lio_github_edadma_rdb_ConnectSQL.prototype.
|
|
8479
|
-
var
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
var
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
|
|
8514
|
-
|
|
8515
|
-
|
|
8516
|
-
var
|
|
8517
|
-
|
|
8518
|
-
var
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
|
|
8478
|
+
$c_Lio_github_edadma_rdb_ConnectSQL.prototype.execute__T__sjs_js_Array = (function(sql) {
|
|
8479
|
+
var col$2 = $as_sc_IterableOnce($m_Lio_github_edadma_rdb_executeSQL$package$().executeSQL__T__Lio_github_edadma_rdb_DB__sci_Seq(sql, this.Lio_github_edadma_rdb_ConnectSQL__f_db).map__F1__O(new $c_sjsr_AnonFunction1(((this$1) => ((x$1) => {
|
|
8480
|
+
var x$1$1 = $as_Lio_github_edadma_rdb_Result(x$1);
|
|
8481
|
+
if ((x$1$1 instanceof $c_Lio_github_edadma_rdb_CreateTableResult)) {
|
|
8482
|
+
var x$1$2 = $as_Lio_github_edadma_rdb_CreateTableResult(x$1$1);
|
|
8483
|
+
var x36 = x$1$2.Lio_github_edadma_rdb_CreateTableResult__f_table;
|
|
8484
|
+
var fields = $m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T2.getArrayOf().constr)([new $c_T2("command", "create table"), new $c_T2("table", x36)]));
|
|
8485
|
+
return $m_sjs_js_special_package$().objectLiteral__sci_Seq__sjs_js_Object(fields)
|
|
8486
|
+
};
|
|
8487
|
+
if ((x$1$1 instanceof $c_Lio_github_edadma_rdb_InsertResult)) {
|
|
8488
|
+
var x$1$3 = $as_Lio_github_edadma_rdb_InsertResult(x$1$1);
|
|
8489
|
+
var x32 = x$1$3.Lio_github_edadma_rdb_InsertResult__f_obj;
|
|
8490
|
+
var this$10 = new $c_sc_MapView$Id(x32);
|
|
8491
|
+
var f = new $c_sjsr_AnonFunction1(((this$9) => ((v) => {
|
|
8492
|
+
var v$1 = $as_Lio_github_edadma_rdb_Value(v);
|
|
8493
|
+
return $p_Lio_github_edadma_rdb_ConnectSQL__toJS__Lio_github_edadma_rdb_Value__sjs_js_Any(this$9, v$1)
|
|
8494
|
+
}))(this$1));
|
|
8495
|
+
var this$12 = new $c_sc_MapView$MapValues(this$10, f);
|
|
8496
|
+
$m_s_$less$colon$less$();
|
|
8497
|
+
var map = $m_sci_Map$().from__sc_IterableOnce__sci_Map(this$12);
|
|
8498
|
+
var this$14 = $m_sjs_js_JSConverters$JSRichMap$();
|
|
8499
|
+
var result = {};
|
|
8500
|
+
map.foreach__F1__V(new $c_sjsr_AnonFunction1(((this$16, result$1) => ((x0$1$2) => {
|
|
8501
|
+
var x0$1 = $as_T2(x0$1$2);
|
|
8502
|
+
if ((x0$1 !== null)) {
|
|
8503
|
+
var key = $as_T(x0$1._1__O());
|
|
8504
|
+
var value = x0$1._2__O();
|
|
8505
|
+
result$1[key] = value
|
|
8506
|
+
} else {
|
|
8507
|
+
throw new $c_s_MatchError(x0$1)
|
|
8508
|
+
}
|
|
8509
|
+
}))(this$14, result)));
|
|
8510
|
+
var fields$1 = $m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T2.getArrayOf().constr)([new $c_T2("command", "insert"), new $c_T2("result", result)]));
|
|
8511
|
+
return $m_sjs_js_special_package$().objectLiteral__sci_Seq__sjs_js_Object(fields$1)
|
|
8512
|
+
};
|
|
8513
|
+
if ((x$1$1 instanceof $c_Lio_github_edadma_rdb_QueryResult)) {
|
|
8514
|
+
var x$1$4 = $as_Lio_github_edadma_rdb_QueryResult(x$1$1);
|
|
8515
|
+
var x29 = x$1$4.Lio_github_edadma_rdb_QueryResult__f_table;
|
|
8516
|
+
var col$1 = $as_sc_IterableOnce(x29.Lio_github_edadma_rdb_TableValue__f_data.map__F1__O(new $c_sjsr_AnonFunction1(((this$2$1) => ((_$1) => {
|
|
8517
|
+
var _$1$1 = $as_Lio_github_edadma_rdb_Row(_$1);
|
|
8518
|
+
var col = $as_sc_IterableOnce(_$1$1.Lio_github_edadma_rdb_Row__f_data.map__F1__O(new $c_sjsr_AnonFunction1(((this$23) => ((v$2) => {
|
|
8519
|
+
var v$3 = $as_Lio_github_edadma_rdb_Value(v$2);
|
|
8520
|
+
return $p_Lio_github_edadma_rdb_ConnectSQL__toJS__Lio_github_edadma_rdb_Value__sjs_js_Any(this$23, v$3)
|
|
8521
|
+
}))(this$2$1))));
|
|
8522
|
+
return $m_sjs_js_JSConverters$JSRichIterableOnce$().toJSArray$extension__sc_IterableOnce__sjs_js_Array(col)
|
|
8523
|
+
}))(this$1))));
|
|
8524
|
+
var res$2 = $m_sjs_js_JSConverters$JSRichIterableOnce$().toJSArray$extension__sc_IterableOnce__sjs_js_Array(col$1);
|
|
8525
|
+
var fields$2 = $m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T2.getArrayOf().constr)([new $c_T2("command", "select"), new $c_T2("result", res$2)]));
|
|
8526
|
+
return $m_sjs_js_special_package$().objectLiteral__sci_Seq__sjs_js_Object(fields$2)
|
|
8527
|
+
};
|
|
8528
|
+
throw new $c_s_MatchError(x$1$1)
|
|
8529
|
+
}))(this))));
|
|
8530
|
+
return $m_sjs_js_JSConverters$JSRichIterableOnce$().toJSArray$extension__sc_IterableOnce__sjs_js_Array(col$2)
|
|
8528
8531
|
});
|
|
8529
8532
|
$c_Lio_github_edadma_rdb_ConnectSQL.prototype.$js$exported$meth$execute__T__O = (function(sql) {
|
|
8530
|
-
return this.
|
|
8533
|
+
return this.execute__T__sjs_js_Array(sql)
|
|
8531
8534
|
});
|
|
8532
8535
|
$c_Lio_github_edadma_rdb_ConnectSQL.prototype.execute = (function(arg) {
|
|
8533
8536
|
var prep0 = $as_T(arg);
|
|
@@ -8636,7 +8639,7 @@ function $c_Lio_github_edadma_rdb_ScalarFunction$package$() {
|
|
|
8636
8639
|
var $$x1 = new $c_Lio_github_edadma_rdb_ScalarFunction("TABLE", func$1, typ$1);
|
|
8637
8640
|
var func$2 = new $c_Lio_github_edadma_rdb_ScalarFunction$package$$anon$3();
|
|
8638
8641
|
var typ$2 = $m_Lio_github_edadma_rdb_TextType$();
|
|
8639
|
-
var elems = $$x3.wrapRefArray__AO__sci_ArraySeq(new ($d_Lio_github_edadma_rdb_ScalarFunction.getArrayOf().constr)([$$x2, $$x1, new $c_Lio_github_edadma_rdb_ScalarFunction("
|
|
8642
|
+
var elems = $$x3.wrapRefArray__AO__sci_ArraySeq(new ($d_Lio_github_edadma_rdb_ScalarFunction.getArrayOf().constr)([$$x2, $$x1, new $c_Lio_github_edadma_rdb_ScalarFunction("TYPEOF", func$2, typ$2)]));
|
|
8640
8643
|
var this$8 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems);
|
|
8641
8644
|
var f$2 = ((this$5) => ((f) => {
|
|
8642
8645
|
var f$1 = $as_Lio_github_edadma_rdb_ScalarFunction(f);
|
|
@@ -9676,24 +9679,24 @@ $c_Lio_github_edadma_rdb_executeSQL$package$.prototype.executeSQL__T__Lio_github
|
|
|
9676
9679
|
var cs = $as_sci_Seq(this$1.parse__T__s_util_parsing_combinator_PackratParsers$PackratParser__O(sql, this$1.commands__s_util_parsing_combinator_PackratParsers$PackratParser()));
|
|
9677
9680
|
return $as_sci_Seq(cs.map__F1__O(new $c_sjsr_AnonFunction1(((this$2, db$2) => ((x$1) => {
|
|
9678
9681
|
var x$1$1 = $as_Lio_github_edadma_rdb_Command(x$1);
|
|
9679
|
-
|
|
9682
|
+
matchResult20: {
|
|
9680
9683
|
var $$x1;
|
|
9681
9684
|
if ((x$1$1 instanceof $c_Lio_github_edadma_rdb_InsertCommand)) {
|
|
9682
9685
|
var x$1$2 = $as_Lio_github_edadma_rdb_InsertCommand(x$1$1);
|
|
9683
|
-
var
|
|
9684
|
-
var
|
|
9685
|
-
var
|
|
9686
|
-
var
|
|
9687
|
-
if ((
|
|
9688
|
-
var
|
|
9689
|
-
var this$5 = db$2.
|
|
9686
|
+
var x108 = x$1$2.Lio_github_edadma_rdb_InsertCommand__f_table;
|
|
9687
|
+
var x109 = x$1$2.Lio_github_edadma_rdb_InsertCommand__f_columns;
|
|
9688
|
+
var x110 = x$1$2.Lio_github_edadma_rdb_InsertCommand__f_rows;
|
|
9689
|
+
var x111 = x$1$2.Lio_github_edadma_rdb_InsertCommand__f_returning;
|
|
9690
|
+
if ((x108 !== null)) {
|
|
9691
|
+
var x113 = x108.Lio_github_edadma_rdb_Ident__f_name;
|
|
9692
|
+
var this$5 = db$2.getTable__T__s_Option(x113);
|
|
9690
9693
|
if (this$5.isEmpty__Z()) {
|
|
9691
|
-
var msg = ("unknown table: " +
|
|
9692
|
-
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(
|
|
9694
|
+
var msg = ("unknown table: " + x113);
|
|
9695
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(x108.Lio_github_edadma_rdb_Ident__f_pos, msg)
|
|
9693
9696
|
};
|
|
9694
9697
|
var t = $as_Lio_github_edadma_rdb_Table(this$5.get__O());
|
|
9695
|
-
var cols =
|
|
9696
|
-
var x30 =
|
|
9698
|
+
var cols = x109.length__I();
|
|
9699
|
+
var x30 = x110.find__F1__s_Option(new $c_sjsr_AnonFunction1(((this$2$1, cols$2) => ((_$1) => {
|
|
9697
9700
|
var _$1$1 = $as_sci_Seq(_$1);
|
|
9698
9701
|
return (_$1$1.length__I() !== cols$2)
|
|
9699
9702
|
}))(this$2, cols)));
|
|
@@ -9705,14 +9708,14 @@ $c_Lio_github_edadma_rdb_executeSQL$package$.prototype.executeSQL__T__Lio_github
|
|
|
9705
9708
|
};
|
|
9706
9709
|
var x = $m_s_None$();
|
|
9707
9710
|
if ((x === x30)) {
|
|
9708
|
-
var data = $as_sci_Seq(
|
|
9711
|
+
var data = $as_sci_Seq(x110.map__F1__O(new $c_sjsr_AnonFunction1(((this$3$1, db$1$2) => ((r) => {
|
|
9709
9712
|
var r$1 = $as_sci_Seq(r);
|
|
9710
9713
|
return $as_sci_Seq(r$1.map__F1__O(new $c_sjsr_AnonFunction1(((this$8, db$2$2) => ((e) => {
|
|
9711
9714
|
var e$1 = $as_Lio_github_edadma_rdb_Expr(e);
|
|
9712
9715
|
return $m_Lio_github_edadma_rdb_eval$package$().eval__Lio_github_edadma_rdb_Expr__sci_Seq__Lio_github_edadma_rdb_AggregateMode__Lio_github_edadma_rdb_Value($m_Lio_github_edadma_rdb_rewrite$package$().rewrite__Lio_github_edadma_rdb_Expr__Lio_github_edadma_rdb_DB__Lio_github_edadma_rdb_Expr(e$1, db$2$2), $m_s_package$().s_package$__f_Nil, $s_Lio_github_edadma_rdb_AggregateMode$__Disallow__Lio_github_edadma_rdb_AggregateMode())
|
|
9713
9716
|
}))(this$3$1, db$1$2))))
|
|
9714
9717
|
}))(this$2, db$2))));
|
|
9715
|
-
|
|
9718
|
+
x109.withFilter__F1__sc_WithFilter(new $c_sjsr_AnonFunction1(((this$4$1) => ((x$1$2$1) => {
|
|
9716
9719
|
var x$1$3 = $as_Lio_github_edadma_rdb_Ident(x$1$2$1);
|
|
9717
9720
|
return (x$1$3 !== null)
|
|
9718
9721
|
}))(this$2))).foreach__F1__V(new $c_sjsr_AnonFunction1(((this$5$1, t$2) => ((x$1$3$1) => {
|
|
@@ -9729,7 +9732,7 @@ $c_Lio_github_edadma_rdb_executeSQL$package$.prototype.executeSQL__T__Lio_github
|
|
|
9729
9732
|
throw new $c_s_MatchError(x$1$4)
|
|
9730
9733
|
}
|
|
9731
9734
|
}))(this$2, t)));
|
|
9732
|
-
var result = t.bulkInsert__sci_Seq__sci_Seq__sci_Map($as_sci_Seq(
|
|
9735
|
+
var result = t.bulkInsert__sci_Seq__sci_Seq__sci_Map($as_sci_Seq(x109.map__F1__O(new $c_sjsr_AnonFunction1(((this$6$1) => ((_$2) => {
|
|
9733
9736
|
var _$2$1 = $as_Lio_github_edadma_rdb_Ident(_$2);
|
|
9734
9737
|
return _$2$1.Lio_github_edadma_rdb_Ident__f_name
|
|
9735
9738
|
}))(this$2)))), data);
|
|
@@ -9737,7 +9740,7 @@ $c_Lio_github_edadma_rdb_executeSQL$package$.prototype.executeSQL__T__Lio_github
|
|
|
9737
9740
|
var x27___1;
|
|
9738
9741
|
var x27___2;
|
|
9739
9742
|
var x$3 = $m_s_None$();
|
|
9740
|
-
if ((x$3 ===
|
|
9743
|
+
if ((x$3 === x111)) {
|
|
9741
9744
|
matchResult4: {
|
|
9742
9745
|
var \u03b42$___1;
|
|
9743
9746
|
var \u03b42$___2;
|
|
@@ -9752,7 +9755,7 @@ $c_Lio_github_edadma_rdb_executeSQL$package$.prototype.executeSQL__T__Lio_github
|
|
|
9752
9755
|
return new $c_T2(_1, v)
|
|
9753
9756
|
};
|
|
9754
9757
|
throw new $c_s_MatchError(x$1$5)
|
|
9755
|
-
}))(this$2,
|
|
9758
|
+
}))(this$2, x113)));
|
|
9756
9759
|
var this$16 = $m_s_$less$colon$less$();
|
|
9757
9760
|
var x10 = $$x2.unzip__F1__T2(this$16.s_$less$colon$less$__f_singleton);
|
|
9758
9761
|
if ((x10 !== null)) {
|
|
@@ -9777,8 +9780,8 @@ $c_Lio_github_edadma_rdb_executeSQL$package$.prototype.executeSQL__T__Lio_github
|
|
|
9777
9780
|
var x27___2 = metadata;
|
|
9778
9781
|
break matchResult8
|
|
9779
9782
|
};
|
|
9780
|
-
if ((
|
|
9781
|
-
var x24 = $as_Lio_github_edadma_rdb_Ident($as_s_Some(
|
|
9783
|
+
if ((x111 instanceof $c_s_Some)) {
|
|
9784
|
+
var x24 = $as_Lio_github_edadma_rdb_Ident($as_s_Some(x111).s_Some__f_value);
|
|
9782
9785
|
if ((x24 !== null)) {
|
|
9783
9786
|
var x26 = x24.Lio_github_edadma_rdb_Ident__f_name;
|
|
9784
9787
|
if ((!result.contains__O__Z(x26))) {
|
|
@@ -9806,7 +9809,7 @@ $c_Lio_github_edadma_rdb_executeSQL$package$.prototype.executeSQL__T__Lio_github
|
|
|
9806
9809
|
return new $c_T2(_1$2, v$1)
|
|
9807
9810
|
};
|
|
9808
9811
|
throw new $c_s_MatchError(x$1$7)
|
|
9809
|
-
}))(this$2,
|
|
9812
|
+
}))(this$2, x113)));
|
|
9810
9813
|
var this$27 = $m_s_$less$colon$less$();
|
|
9811
9814
|
var x19 = $$x3.unzip__F1__T2(this$27.s_$less$colon$less$__f_singleton);
|
|
9812
9815
|
if ((x19 !== null)) {
|
|
@@ -9832,7 +9835,7 @@ $c_Lio_github_edadma_rdb_executeSQL$package$.prototype.executeSQL__T__Lio_github
|
|
|
9832
9835
|
break matchResult8
|
|
9833
9836
|
}
|
|
9834
9837
|
};
|
|
9835
|
-
throw new $c_s_MatchError(
|
|
9838
|
+
throw new $c_s_MatchError(x111)
|
|
9836
9839
|
};
|
|
9837
9840
|
var row$2 = $as_Lio_github_edadma_rdb_Row(x27___1);
|
|
9838
9841
|
var metadata$3 = $as_Lio_github_edadma_rdb_Metadata(x27___2);
|
|
@@ -9845,205 +9848,247 @@ $c_Lio_github_edadma_rdb_executeSQL$package$.prototype.executeSQL__T__Lio_github
|
|
|
9845
9848
|
var data$3 = this$35.from__sc_IterableOnce__sci_Vector(elems);
|
|
9846
9849
|
var table$2 = new $c_Lio_github_edadma_rdb_TableValue(data$3, metadata$4);
|
|
9847
9850
|
var $$x1 = new $c_Lio_github_edadma_rdb_InsertResult(result, table$2);
|
|
9848
|
-
break
|
|
9851
|
+
break matchResult20
|
|
9849
9852
|
};
|
|
9850
9853
|
throw new $c_s_MatchError(x30)
|
|
9851
9854
|
}
|
|
9852
9855
|
};
|
|
9853
9856
|
if ((x$1$1 instanceof $c_Lio_github_edadma_rdb_QueryCommand)) {
|
|
9854
9857
|
var x$1$8 = $as_Lio_github_edadma_rdb_QueryCommand(x$1$1);
|
|
9855
|
-
var
|
|
9856
|
-
var table$5 = $as_Lio_github_edadma_rdb_TableValue($m_Lio_github_edadma_rdb_eval$package$().eval__Lio_github_edadma_rdb_Expr__sci_Seq__Lio_github_edadma_rdb_AggregateMode__Lio_github_edadma_rdb_Value($m_Lio_github_edadma_rdb_rewrite$package$().rewrite__Lio_github_edadma_rdb_Expr__Lio_github_edadma_rdb_DB__Lio_github_edadma_rdb_Expr(
|
|
9858
|
+
var x105 = x$1$8.Lio_github_edadma_rdb_QueryCommand__f_query;
|
|
9859
|
+
var table$5 = $as_Lio_github_edadma_rdb_TableValue($m_Lio_github_edadma_rdb_eval$package$().eval__Lio_github_edadma_rdb_Expr__sci_Seq__Lio_github_edadma_rdb_AggregateMode__Lio_github_edadma_rdb_Value($m_Lio_github_edadma_rdb_rewrite$package$().rewrite__Lio_github_edadma_rdb_Expr__Lio_github_edadma_rdb_DB__Lio_github_edadma_rdb_Expr(x105, db$2), $m_s_package$().s_package$__f_Nil, $s_Lio_github_edadma_rdb_AggregateMode$__Return__Lio_github_edadma_rdb_AggregateMode()));
|
|
9857
9860
|
var $$x1 = new $c_Lio_github_edadma_rdb_QueryResult(table$5);
|
|
9858
|
-
break
|
|
9861
|
+
break matchResult20
|
|
9859
9862
|
};
|
|
9860
9863
|
if ((x$1$1 instanceof $c_Lio_github_edadma_rdb_CreateTableCommand)) {
|
|
9861
9864
|
var x$1$9 = $as_Lio_github_edadma_rdb_CreateTableCommand(x$1$1);
|
|
9862
|
-
var
|
|
9863
|
-
var
|
|
9864
|
-
if ((
|
|
9865
|
-
var
|
|
9866
|
-
if (db$2.hasTable__T__Z(
|
|
9867
|
-
var msg$4 = ("duplicate table: " +
|
|
9868
|
-
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(
|
|
9865
|
+
var x99 = x$1$9.Lio_github_edadma_rdb_CreateTableCommand__f_table;
|
|
9866
|
+
var x100 = x$1$9.Lio_github_edadma_rdb_CreateTableCommand__f_columns;
|
|
9867
|
+
if ((x99 !== null)) {
|
|
9868
|
+
var x102 = x99.Lio_github_edadma_rdb_Ident__f_name;
|
|
9869
|
+
if (db$2.hasTable__T__Z(x102)) {
|
|
9870
|
+
var msg$4 = ("duplicate table: " + x102);
|
|
9871
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(x99.Lio_github_edadma_rdb_Ident__f_pos, msg$4)
|
|
9869
9872
|
};
|
|
9870
9873
|
var names = $ct_scm_HashSet__(new $c_scm_HashSet());
|
|
9871
|
-
var specs = $as_sci_Seq(
|
|
9874
|
+
var specs = $as_sci_Seq(x100.map__F1__O(new $c_sjsr_AnonFunction1(((this$10$1, db$1$3, names$2) => ((x$1$7$1) => {
|
|
9872
9875
|
var x$1$10 = $as_Lio_github_edadma_rdb_ColumnDesc(x$1$7$1);
|
|
9873
9876
|
if ((x$1$10 !== null)) {
|
|
9874
|
-
var
|
|
9875
|
-
var
|
|
9876
|
-
var
|
|
9877
|
-
var
|
|
9878
|
-
var
|
|
9879
|
-
if ((
|
|
9880
|
-
var
|
|
9881
|
-
if (names$2.contains__O__Z(
|
|
9882
|
-
var msg$5 = ("duplicate column name: " +
|
|
9883
|
-
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(
|
|
9877
|
+
var x45 = x$1$10.Lio_github_edadma_rdb_ColumnDesc__f_name;
|
|
9878
|
+
var x46 = x$1$10.Lio_github_edadma_rdb_ColumnDesc__f_typ;
|
|
9879
|
+
var x47 = x$1$10.Lio_github_edadma_rdb_ColumnDesc__f_auto;
|
|
9880
|
+
var x48 = x$1$10.Lio_github_edadma_rdb_ColumnDesc__f_required;
|
|
9881
|
+
var x49 = x$1$10.Lio_github_edadma_rdb_ColumnDesc__f_pk;
|
|
9882
|
+
if ((x45 !== null)) {
|
|
9883
|
+
var x51 = x45.Lio_github_edadma_rdb_Ident__f_name;
|
|
9884
|
+
if (names$2.contains__O__Z(x51)) {
|
|
9885
|
+
var msg$5 = ("duplicate column name: " + x51);
|
|
9886
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(x45.Lio_github_edadma_rdb_Ident__f_pos, msg$5)
|
|
9887
|
+
};
|
|
9888
|
+
names$2.add__O__Z(x51);
|
|
9889
|
+
matchResult12: {
|
|
9890
|
+
var typ$2;
|
|
9891
|
+
if ((x46 instanceof $c_s_util_Left)) {
|
|
9892
|
+
var primitive = $as_Lio_github_edadma_rdb_Type($as_s_util_Left(x46).s_util_Left__f_value);
|
|
9893
|
+
var typ$2 = primitive;
|
|
9894
|
+
break matchResult12
|
|
9895
|
+
};
|
|
9896
|
+
if ((x46 instanceof $c_s_util_Right)) {
|
|
9897
|
+
var x38 = $as_Lio_github_edadma_rdb_Ident($as_s_util_Right(x46).s_util_Right__f_value);
|
|
9898
|
+
if ((x38 !== null)) {
|
|
9899
|
+
var x40 = x38.Lio_github_edadma_rdb_Ident__f_name;
|
|
9900
|
+
var x33 = db$1$3.getType__T__s_Option(x40);
|
|
9901
|
+
var x$2 = $m_s_None$();
|
|
9902
|
+
if ((x$2 === x33)) {
|
|
9903
|
+
var msg$6 = (("type '" + x40) + "' is undefined");
|
|
9904
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(x38.Lio_github_edadma_rdb_Ident__f_pos, msg$6)
|
|
9905
|
+
};
|
|
9906
|
+
if ((x33 instanceof $c_s_Some)) {
|
|
9907
|
+
var t$1 = $as_Lio_github_edadma_rdb_Type($as_s_Some(x33).s_Some__f_value);
|
|
9908
|
+
var typ$2 = t$1;
|
|
9909
|
+
break matchResult12
|
|
9910
|
+
};
|
|
9911
|
+
throw new $c_s_MatchError(x33)
|
|
9912
|
+
}
|
|
9913
|
+
};
|
|
9914
|
+
throw new $c_s_MatchError(x46)
|
|
9884
9915
|
};
|
|
9885
|
-
names$2.add__O__Z(x41);
|
|
9886
9916
|
var fk = $m_s_None$();
|
|
9887
9917
|
var default$1 = $m_s_None$();
|
|
9888
|
-
return new $c_Lio_github_edadma_rdb_ColumnSpec(
|
|
9918
|
+
return new $c_Lio_github_edadma_rdb_ColumnSpec(x51, typ$2, x47, x48, x49, false, false, fk, default$1)
|
|
9889
9919
|
}
|
|
9890
9920
|
};
|
|
9891
9921
|
throw new $c_s_MatchError(x$1$10)
|
|
9892
|
-
}))(this$2, names))));
|
|
9893
|
-
db$2.
|
|
9894
|
-
var $$x1 = new $c_Lio_github_edadma_rdb_CreateTableResult(
|
|
9895
|
-
break
|
|
9922
|
+
}))(this$2, db$2, names))));
|
|
9923
|
+
db$2.createTable__T__sci_Seq__Lio_github_edadma_rdb_Table(x102, specs);
|
|
9924
|
+
var $$x1 = new $c_Lio_github_edadma_rdb_CreateTableResult(x102);
|
|
9925
|
+
break matchResult20
|
|
9926
|
+
}
|
|
9927
|
+
};
|
|
9928
|
+
if ((x$1$1 instanceof $c_Lio_github_edadma_rdb_CreateEnumCommand)) {
|
|
9929
|
+
var x$1$11 = $as_Lio_github_edadma_rdb_CreateEnumCommand(x$1$1);
|
|
9930
|
+
var x93 = x$1$11.Lio_github_edadma_rdb_CreateEnumCommand__f_name;
|
|
9931
|
+
var x94 = x$1$11.Lio_github_edadma_rdb_CreateEnumCommand__f_labels;
|
|
9932
|
+
if ((x93 !== null)) {
|
|
9933
|
+
var x96 = x93.Lio_github_edadma_rdb_Ident__f_name;
|
|
9934
|
+
if (db$2.hasType__T__Z(x96)) {
|
|
9935
|
+
var msg$7 = (("duplicate type '" + x96) + "'");
|
|
9936
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(x93.Lio_github_edadma_rdb_Ident__f_pos, msg$7)
|
|
9937
|
+
};
|
|
9938
|
+
db$2.createEnum__T__sci_Seq__V(x96, x94);
|
|
9939
|
+
var $$x1 = new $c_Lio_github_edadma_rdb_CreateTypeResult(x96);
|
|
9940
|
+
break matchResult20
|
|
9896
9941
|
}
|
|
9897
9942
|
};
|
|
9898
9943
|
if ((x$1$1 instanceof $c_Lio_github_edadma_rdb_UpdateCommand)) {
|
|
9899
|
-
var x$1$
|
|
9900
|
-
var
|
|
9901
|
-
var
|
|
9902
|
-
var
|
|
9903
|
-
if ((
|
|
9904
|
-
var
|
|
9905
|
-
var this$
|
|
9906
|
-
if (this$
|
|
9907
|
-
var msg$
|
|
9908
|
-
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(
|
|
9944
|
+
var x$1$12 = $as_Lio_github_edadma_rdb_UpdateCommand(x$1$1);
|
|
9945
|
+
var x86 = x$1$12.Lio_github_edadma_rdb_UpdateCommand__f_table;
|
|
9946
|
+
var x87 = x$1$12.Lio_github_edadma_rdb_UpdateCommand__f_sets;
|
|
9947
|
+
var x88 = x$1$12.Lio_github_edadma_rdb_UpdateCommand__f_cond;
|
|
9948
|
+
if ((x86 !== null)) {
|
|
9949
|
+
var x90 = x86.Lio_github_edadma_rdb_Ident__f_name;
|
|
9950
|
+
var this$58 = db$2.getTable__T__s_Option(x90);
|
|
9951
|
+
if (this$58.isEmpty__Z()) {
|
|
9952
|
+
var msg$8 = ("unknown table: " + x90);
|
|
9953
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(x86.Lio_github_edadma_rdb_Ident__f_pos, msg$8)
|
|
9909
9954
|
};
|
|
9910
|
-
var t$3 = $as_Lio_github_edadma_rdb_Table(this$
|
|
9911
|
-
|
|
9955
|
+
var t$3 = $as_Lio_github_edadma_rdb_Table(this$58.get__O());
|
|
9956
|
+
matchResult15: {
|
|
9912
9957
|
var \u03b44$___1;
|
|
9913
9958
|
var \u03b44$___2;
|
|
9914
|
-
var $$x4 = $as_sc_IterableOps(
|
|
9915
|
-
var x$1$
|
|
9916
|
-
if ((x$1$
|
|
9917
|
-
var
|
|
9918
|
-
var
|
|
9919
|
-
if ((
|
|
9920
|
-
var
|
|
9921
|
-
if ((!t$4.hasColumn__T__Z(
|
|
9922
|
-
var msg$
|
|
9923
|
-
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(
|
|
9959
|
+
var $$x4 = $as_sc_IterableOps(x87.map__F1__O(new $c_sjsr_AnonFunction1(((this$12$1, db$1$4, table$8, t$4) => ((x$1$8$1) => {
|
|
9960
|
+
var x$1$13 = $as_Lio_github_edadma_rdb_UpdateSet(x$1$8$1);
|
|
9961
|
+
if ((x$1$13 !== null)) {
|
|
9962
|
+
var x54 = x$1$13.Lio_github_edadma_rdb_UpdateSet__f_col;
|
|
9963
|
+
var x55 = x$1$13.Lio_github_edadma_rdb_UpdateSet__f_value;
|
|
9964
|
+
if ((x54 !== null)) {
|
|
9965
|
+
var x57 = x54.Lio_github_edadma_rdb_Ident__f_name;
|
|
9966
|
+
if ((!t$4.hasColumn__T__Z(x57))) {
|
|
9967
|
+
var msg$9 = (((("table " + table$8) + " doesn't has column '") + x57) + "'");
|
|
9968
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(x54.Lio_github_edadma_rdb_Ident__f_pos, msg$9)
|
|
9924
9969
|
};
|
|
9925
|
-
var y = $m_Lio_github_edadma_rdb_rewrite$package$().rewrite__Lio_github_edadma_rdb_Expr__Lio_github_edadma_rdb_DB__Lio_github_edadma_rdb_Expr(
|
|
9926
|
-
return new $c_T2(
|
|
9970
|
+
var y = $m_Lio_github_edadma_rdb_rewrite$package$().rewrite__Lio_github_edadma_rdb_Expr__Lio_github_edadma_rdb_DB__Lio_github_edadma_rdb_Expr(x55, db$1$4);
|
|
9971
|
+
return new $c_T2(x57, y)
|
|
9927
9972
|
}
|
|
9928
9973
|
};
|
|
9929
|
-
throw new $c_s_MatchError(x$1$
|
|
9930
|
-
}))(this$2, db$2,
|
|
9931
|
-
var this$
|
|
9932
|
-
var
|
|
9933
|
-
if ((
|
|
9934
|
-
var cols$7 = $as_sci_Seq(
|
|
9935
|
-
var exprs = $as_sci_Seq(
|
|
9974
|
+
throw new $c_s_MatchError(x$1$13)
|
|
9975
|
+
}))(this$2, db$2, x90, t$3))));
|
|
9976
|
+
var this$66 = $m_s_$less$colon$less$();
|
|
9977
|
+
var x58 = $$x4.unzip__F1__T2(this$66.s_$less$colon$less$__f_singleton);
|
|
9978
|
+
if ((x58 !== null)) {
|
|
9979
|
+
var cols$7 = $as_sci_Seq(x58._1__O());
|
|
9980
|
+
var exprs = $as_sci_Seq(x58._2__O());
|
|
9936
9981
|
var \u03b44$___1 = cols$7;
|
|
9937
9982
|
var \u03b44$___2 = exprs;
|
|
9938
|
-
break
|
|
9983
|
+
break matchResult15
|
|
9939
9984
|
};
|
|
9940
|
-
throw new $c_s_MatchError(
|
|
9985
|
+
throw new $c_s_MatchError(x58)
|
|
9941
9986
|
};
|
|
9942
9987
|
var cols$8 = $as_sci_Seq(\u03b44$___1);
|
|
9943
9988
|
var exprs$2 = $as_sci_Seq(\u03b44$___2);
|
|
9944
|
-
|
|
9989
|
+
matchResult16: {
|
|
9945
9990
|
var rows$2;
|
|
9946
|
-
if ((
|
|
9947
|
-
var value = $as_Lio_github_edadma_rdb_Expr($as_s_Some(
|
|
9991
|
+
if ((x88 instanceof $c_s_Some)) {
|
|
9992
|
+
var value = $as_Lio_github_edadma_rdb_Expr($as_s_Some(x88).s_Some__f_value);
|
|
9948
9993
|
var cond = $m_Lio_github_edadma_rdb_rewrite$package$().rewrite__Lio_github_edadma_rdb_Expr__Lio_github_edadma_rdb_DB__Lio_github_edadma_rdb_Expr(value, db$2);
|
|
9949
9994
|
var rows$2 = new $c_Lio_github_edadma_rdb_FilterProcess(t$3, cond);
|
|
9950
|
-
break
|
|
9995
|
+
break matchResult16
|
|
9951
9996
|
};
|
|
9952
9997
|
var x$5 = $m_s_None$();
|
|
9953
|
-
if ((x$5 ===
|
|
9998
|
+
if ((x$5 === x88)) {
|
|
9954
9999
|
var rows$2 = t$3;
|
|
9955
|
-
break
|
|
10000
|
+
break matchResult16
|
|
9956
10001
|
};
|
|
9957
|
-
throw new $c_s_MatchError(
|
|
10002
|
+
throw new $c_s_MatchError(x88)
|
|
9958
10003
|
};
|
|
9959
10004
|
var elem = 0;
|
|
9960
10005
|
elem = 0;
|
|
9961
|
-
var this$
|
|
9962
|
-
while (this$
|
|
9963
|
-
var arg1 = this$
|
|
10006
|
+
var this$70 = rows$2.iterator__sci_Seq__sc_Iterator($m_s_package$().s_package$__f_Nil);
|
|
10007
|
+
while (this$70.hasNext__Z()) {
|
|
10008
|
+
var arg1 = this$70.next__O();
|
|
9964
10009
|
var r$2 = $as_Lio_github_edadma_rdb_Row(arg1);
|
|
9965
|
-
|
|
9966
|
-
var
|
|
9967
|
-
var x$
|
|
9968
|
-
if ((x$
|
|
9969
|
-
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(
|
|
10010
|
+
matchResult17: {
|
|
10011
|
+
var x64 = r$2.Lio_github_edadma_rdb_Row__f_updater;
|
|
10012
|
+
var x$4 = $m_s_None$();
|
|
10013
|
+
if ((x$4 === x64)) {
|
|
10014
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(x86.Lio_github_edadma_rdb_Ident__f_pos, "not updatable")
|
|
9970
10015
|
};
|
|
9971
|
-
if ((
|
|
9972
|
-
var u = $as_F1($as_s_Some(
|
|
9973
|
-
u.apply__O__O(cols$8.zip__sc_IterableOnce__O($as_sc_IterableOnce(exprs$2.map__F1__O(new $c_sjsr_AnonFunction1(((this$
|
|
10016
|
+
if ((x64 instanceof $c_s_Some)) {
|
|
10017
|
+
var u = $as_F1($as_s_Some(x64).s_Some__f_value);
|
|
10018
|
+
u.apply__O__O(cols$8.zip__sc_IterableOnce__O($as_sc_IterableOnce(exprs$2.map__F1__O(new $c_sjsr_AnonFunction1(((this$72, r$2$1) => ((e$2) => {
|
|
9974
10019
|
var e$3 = $as_Lio_github_edadma_rdb_Expr(e$2);
|
|
9975
10020
|
return $m_Lio_github_edadma_rdb_eval$package$().eval__Lio_github_edadma_rdb_Expr__sci_Seq__Lio_github_edadma_rdb_AggregateMode__Lio_github_edadma_rdb_Value(e$3, $as_sci_Seq($m_s_package$().s_package$__f_Seq.apply__sci_Seq__sc_SeqOps($m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_Lio_github_edadma_rdb_Row.getArrayOf().constr)([r$2$1])))), $s_Lio_github_edadma_rdb_AggregateMode$__Disallow__Lio_github_edadma_rdb_AggregateMode())
|
|
9976
10021
|
}))(this$2, r$2))))));
|
|
9977
|
-
break
|
|
10022
|
+
break matchResult17
|
|
9978
10023
|
};
|
|
9979
|
-
throw new $c_s_MatchError(
|
|
10024
|
+
throw new $c_s_MatchError(x64)
|
|
9980
10025
|
};
|
|
9981
10026
|
var ev$2 = ((1 + elem) | 0);
|
|
9982
10027
|
elem = ev$2
|
|
9983
10028
|
};
|
|
9984
10029
|
var rows = elem;
|
|
9985
10030
|
var $$x1 = new $c_Lio_github_edadma_rdb_UpdateResult(rows);
|
|
9986
|
-
break
|
|
10031
|
+
break matchResult20
|
|
9987
10032
|
}
|
|
9988
10033
|
};
|
|
9989
10034
|
if (false) {
|
|
9990
|
-
var x$1$
|
|
9991
|
-
var
|
|
9992
|
-
var
|
|
9993
|
-
if ((
|
|
9994
|
-
var
|
|
9995
|
-
var this$
|
|
9996
|
-
if (this$
|
|
9997
|
-
var msg$
|
|
9998
|
-
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(
|
|
10035
|
+
var x$1$14 = $as_Lio_github_edadma_rdb_DeleteCommand(x$1$1);
|
|
10036
|
+
var x80 = x$1$14._1__Lio_github_edadma_rdb_Ident();
|
|
10037
|
+
var x81 = x$1$14._2__s_Option();
|
|
10038
|
+
if ((x80 !== null)) {
|
|
10039
|
+
var x83 = x80.Lio_github_edadma_rdb_Ident__f_name;
|
|
10040
|
+
var this$76 = db$2.getTable__T__s_Option(x83);
|
|
10041
|
+
if (this$76.isEmpty__Z()) {
|
|
10042
|
+
var msg$10 = ("unknown table: " + x83);
|
|
10043
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(x80.Lio_github_edadma_rdb_Ident__f_pos, msg$10)
|
|
9999
10044
|
};
|
|
10000
|
-
var t$5 = $as_Lio_github_edadma_rdb_Table(this$
|
|
10001
|
-
|
|
10045
|
+
var t$5 = $as_Lio_github_edadma_rdb_Table(this$76.get__O());
|
|
10046
|
+
matchResult18: {
|
|
10002
10047
|
var rows$3;
|
|
10003
|
-
if ((
|
|
10004
|
-
var value$2 = $as_Lio_github_edadma_rdb_Expr($as_s_Some(
|
|
10048
|
+
if ((x81 instanceof $c_s_Some)) {
|
|
10049
|
+
var value$2 = $as_Lio_github_edadma_rdb_Expr($as_s_Some(x81).s_Some__f_value);
|
|
10005
10050
|
var cond$1 = $m_Lio_github_edadma_rdb_rewrite$package$().rewrite__Lio_github_edadma_rdb_Expr__Lio_github_edadma_rdb_DB__Lio_github_edadma_rdb_Expr(value$2, db$2);
|
|
10006
10051
|
var rows$3 = new $c_Lio_github_edadma_rdb_FilterProcess(t$5, cond$1);
|
|
10007
|
-
break
|
|
10052
|
+
break matchResult18
|
|
10008
10053
|
};
|
|
10009
10054
|
var x$7 = $m_s_None$();
|
|
10010
|
-
if ((x$7 ===
|
|
10055
|
+
if ((x$7 === x81)) {
|
|
10011
10056
|
var rows$3 = t$5;
|
|
10012
|
-
break
|
|
10057
|
+
break matchResult18
|
|
10013
10058
|
};
|
|
10014
|
-
throw new $c_s_MatchError(
|
|
10059
|
+
throw new $c_s_MatchError(x81)
|
|
10015
10060
|
};
|
|
10016
10061
|
var elem$1 = 0;
|
|
10017
10062
|
elem$1 = 0;
|
|
10018
|
-
var this$
|
|
10019
|
-
while (this$
|
|
10020
|
-
var arg1$1 = this$
|
|
10063
|
+
var this$80 = rows$3.iterator__sci_Seq__sc_Iterator($m_s_package$().s_package$__f_Nil);
|
|
10064
|
+
while (this$80.hasNext__Z()) {
|
|
10065
|
+
var arg1$1 = this$80.next__O();
|
|
10021
10066
|
var r$3 = $as_Lio_github_edadma_rdb_Row(arg1$1);
|
|
10022
|
-
|
|
10023
|
-
var
|
|
10024
|
-
if ((
|
|
10025
|
-
var d = $as_F0($as_s_Some(
|
|
10067
|
+
matchResult19: {
|
|
10068
|
+
var x70 = r$3.Lio_github_edadma_rdb_Row__f_deleter;
|
|
10069
|
+
if ((x70 instanceof $c_s_Some)) {
|
|
10070
|
+
var d = $as_F0($as_s_Some(x70).s_Some__f_value);
|
|
10026
10071
|
d.apply__O();
|
|
10027
|
-
break
|
|
10072
|
+
break matchResult19
|
|
10028
10073
|
};
|
|
10029
|
-
var x$
|
|
10030
|
-
if ((x$
|
|
10031
|
-
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(
|
|
10074
|
+
var x$6 = $m_s_None$();
|
|
10075
|
+
if ((x$6 === x70)) {
|
|
10076
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(x80.Lio_github_edadma_rdb_Ident__f_pos, "not updatable")
|
|
10032
10077
|
};
|
|
10033
|
-
throw new $c_s_MatchError(
|
|
10078
|
+
throw new $c_s_MatchError(x70)
|
|
10034
10079
|
};
|
|
10035
10080
|
var ev$3 = ((1 + elem$1) | 0);
|
|
10036
10081
|
elem$1 = ev$3
|
|
10037
10082
|
};
|
|
10038
10083
|
var rows$1 = elem$1;
|
|
10039
10084
|
var $$x1 = new $c_Lio_github_edadma_rdb_DeleteResult(rows$1);
|
|
10040
|
-
break
|
|
10085
|
+
break matchResult20
|
|
10041
10086
|
}
|
|
10042
10087
|
};
|
|
10043
10088
|
if ((x$1$1 instanceof $c_Lio_github_edadma_rdb_AlterTableCommand)) {
|
|
10044
|
-
var x$1$
|
|
10089
|
+
var x$1$15 = $as_Lio_github_edadma_rdb_AlterTableCommand(x$1$1);
|
|
10045
10090
|
var $$x1 = new $c_Lio_github_edadma_rdb_AlterTableResult();
|
|
10046
|
-
break
|
|
10091
|
+
break matchResult20
|
|
10047
10092
|
};
|
|
10048
10093
|
throw new $c_s_MatchError(x$1$1)
|
|
10049
10094
|
};
|
|
@@ -10560,7 +10605,7 @@ $c_Lio_github_edadma_rdb_rewrite$package$.prototype.rewrite__Lio_github_edadma_r
|
|
|
10560
10605
|
var x70 = x$1$22.Lio_github_edadma_rdb_TableOperator__f_table;
|
|
10561
10606
|
if ((x70 !== null)) {
|
|
10562
10607
|
var x72 = x70.Lio_github_edadma_rdb_Ident__f_name;
|
|
10563
|
-
var x52 = db.
|
|
10608
|
+
var x52 = db.getTable__T__s_Option(x72);
|
|
10564
10609
|
if ((x52 instanceof $c_s_Some)) {
|
|
10565
10610
|
var t = $as_Lio_github_edadma_rdb_Table($as_s_Some(x52).s_Some__f_value);
|
|
10566
10611
|
return new $c_Lio_github_edadma_rdb_ProcessOperator(t)
|
|
@@ -20649,14 +20694,6 @@ $c_sc_StringOps$.prototype.take$extension__T__I__T = (function(this$, n) {
|
|
|
20649
20694
|
var y = $uI(this$.length);
|
|
20650
20695
|
return $$x1.slice$extension__T__I__I__T(this$, 0, ((n < y) ? n : y))
|
|
20651
20696
|
});
|
|
20652
|
-
$c_sc_StringOps$.prototype.drop$extension__T__I__T = (function(this$, n) {
|
|
20653
|
-
var $$x1 = $m_sc_StringOps$();
|
|
20654
|
-
var y = $uI(this$.length);
|
|
20655
|
-
return $$x1.slice$extension__T__I__I__T(this$, ((n < y) ? n : y), $uI(this$.length))
|
|
20656
|
-
});
|
|
20657
|
-
$c_sc_StringOps$.prototype.dropRight$extension__T__I__T = (function(this$, n) {
|
|
20658
|
-
return $m_sc_StringOps$().take$extension__T__I__T(this$, (($uI(this$.length) - ((n > 0) ? n : 0)) | 0))
|
|
20659
|
-
});
|
|
20660
20697
|
var $d_sc_StringOps$ = new $TypeData().initClass({
|
|
20661
20698
|
sc_StringOps$: 0
|
|
20662
20699
|
}, false, "scala.collection.StringOps$", {
|
|
@@ -25843,20 +25880,13 @@ $c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.bulkUpdate = (functio
|
|
|
25843
25880
|
var prep0 = arg;
|
|
25844
25881
|
return this.$js$exported$meth$bulkUpdate__sjs_js_Array__O(prep0)
|
|
25845
25882
|
});
|
|
25846
|
-
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.update = (function(arg, arg$2) {
|
|
25847
|
-
var prep0 = arg;
|
|
25848
|
-
var prep1 = arg$2;
|
|
25849
|
-
return this.$js$exported$meth$update__sjs_js_Any__sjs_js_Any__O(prep0, prep1)
|
|
25850
|
-
});
|
|
25851
25883
|
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.delete = (function(arg) {
|
|
25852
25884
|
var prep0 = arg;
|
|
25853
25885
|
return this.$js$exported$meth$delete__sjs_js_Any__O(prep0)
|
|
25854
25886
|
});
|
|
25855
|
-
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.
|
|
25887
|
+
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.insert = (function(arg) {
|
|
25856
25888
|
var prep0 = arg;
|
|
25857
|
-
|
|
25858
|
-
var prep2 = arg$3;
|
|
25859
|
-
return this.$js$exported$meth$link__sjs_js_Any__T__sjs_js_Any__O(prep0, prep1, prep2)
|
|
25889
|
+
return this.$js$exported$meth$insert__sjs_js_Dictionary__O(prep0)
|
|
25860
25890
|
});
|
|
25861
25891
|
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.unlink = (function(arg, arg$2, arg$3) {
|
|
25862
25892
|
var prep0 = arg;
|
|
@@ -25864,9 +25894,16 @@ $c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.unlink = (function(ar
|
|
|
25864
25894
|
var prep2 = arg$3;
|
|
25865
25895
|
return this.$js$exported$meth$unlink__sjs_js_Any__T__sjs_js_Any__O(prep0, prep1, prep2)
|
|
25866
25896
|
});
|
|
25867
|
-
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.
|
|
25897
|
+
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.update = (function(arg, arg$2) {
|
|
25868
25898
|
var prep0 = arg;
|
|
25869
|
-
|
|
25899
|
+
var prep1 = arg$2;
|
|
25900
|
+
return this.$js$exported$meth$update__sjs_js_Any__sjs_js_Any__O(prep0, prep1)
|
|
25901
|
+
});
|
|
25902
|
+
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG.prototype.link = (function(arg, arg$2, arg$3) {
|
|
25903
|
+
var prep0 = arg;
|
|
25904
|
+
var prep1 = $as_T(arg$2);
|
|
25905
|
+
var prep2 = arg$3;
|
|
25906
|
+
return this.$js$exported$meth$link__sjs_js_Any__T__sjs_js_Any__O(prep0, prep1, prep2)
|
|
25870
25907
|
});
|
|
25871
25908
|
var $d_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG = new $TypeData().initClass({
|
|
25872
25909
|
Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG: 0
|
|
@@ -26029,20 +26066,13 @@ $c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.bulkUpdate = (function(a
|
|
|
26029
26066
|
var prep0 = arg;
|
|
26030
26067
|
return this.$js$exported$meth$bulkUpdate__sjs_js_Array__O(prep0)
|
|
26031
26068
|
});
|
|
26032
|
-
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.update = (function(arg, arg$2) {
|
|
26033
|
-
var prep0 = arg;
|
|
26034
|
-
var prep1 = arg$2;
|
|
26035
|
-
return this.$js$exported$meth$update__sjs_js_Any__sjs_js_Any__O(prep0, prep1)
|
|
26036
|
-
});
|
|
26037
26069
|
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.delete = (function(arg) {
|
|
26038
26070
|
var prep0 = arg;
|
|
26039
26071
|
return this.$js$exported$meth$delete__sjs_js_Any__O(prep0)
|
|
26040
26072
|
});
|
|
26041
|
-
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.
|
|
26073
|
+
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.insert = (function(arg) {
|
|
26042
26074
|
var prep0 = arg;
|
|
26043
|
-
|
|
26044
|
-
var prep2 = arg$3;
|
|
26045
|
-
return this.$js$exported$meth$link__sjs_js_Any__T__sjs_js_Any__O(prep0, prep1, prep2)
|
|
26075
|
+
return this.$js$exported$meth$insert__sjs_js_Dictionary__O(prep0)
|
|
26046
26076
|
});
|
|
26047
26077
|
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.unlink = (function(arg, arg$2, arg$3) {
|
|
26048
26078
|
var prep0 = arg;
|
|
@@ -26050,9 +26080,16 @@ $c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.unlink = (function(arg,
|
|
|
26050
26080
|
var prep2 = arg$3;
|
|
26051
26081
|
return this.$js$exported$meth$unlink__sjs_js_Any__T__sjs_js_Any__O(prep0, prep1, prep2)
|
|
26052
26082
|
});
|
|
26053
|
-
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.
|
|
26083
|
+
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.update = (function(arg, arg$2) {
|
|
26054
26084
|
var prep0 = arg;
|
|
26055
|
-
|
|
26085
|
+
var prep1 = arg$2;
|
|
26086
|
+
return this.$js$exported$meth$update__sjs_js_Any__sjs_js_Any__O(prep0, prep1)
|
|
26087
|
+
});
|
|
26088
|
+
$c_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB.prototype.link = (function(arg, arg$2, arg$3) {
|
|
26089
|
+
var prep0 = arg;
|
|
26090
|
+
var prep1 = $as_T(arg$2);
|
|
26091
|
+
var prep2 = arg$3;
|
|
26092
|
+
return this.$js$exported$meth$link__sjs_js_Any__T__sjs_js_Any__O(prep0, prep1, prep2)
|
|
26056
26093
|
});
|
|
26057
26094
|
var $d_Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB = new $TypeData().initClass({
|
|
26058
26095
|
Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB: 0
|
|
@@ -26365,22 +26402,6 @@ $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.$js$exported$meth$queryBui
|
|
|
26365
26402
|
$c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.$js$exported$meth$raw__T__O__O = (function(sql, values) {
|
|
26366
26403
|
return this.raw__T__O__sjs_js_Promise(sql, values)
|
|
26367
26404
|
});
|
|
26368
|
-
$c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.queryMany = (function(arg, ...rest) {
|
|
26369
|
-
var prep0 = $as_T(arg);
|
|
26370
|
-
var prep1 = ((rest[0] === (void 0)) ? this.$js$exported$meth$queryMany$default$2__O() : rest[0]);
|
|
26371
|
-
var prep2 = ((rest[1] === (void 0)) ? this.$js$exported$meth$queryMany$default$3__O() : rest[1]);
|
|
26372
|
-
var prep3 = ((rest[2] === (void 0)) ? this.$js$exported$meth$queryMany$default$4__sjs_js_Any() : rest[2]);
|
|
26373
|
-
return this.$js$exported$meth$queryMany__T__O__O__sjs_js_Any__O(prep0, prep1, prep2, prep3)
|
|
26374
|
-
});
|
|
26375
|
-
$c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.entity = (function(arg) {
|
|
26376
|
-
var prep0 = $as_T(arg);
|
|
26377
|
-
return this.$js$exported$meth$entity__T__O(prep0)
|
|
26378
|
-
});
|
|
26379
|
-
$c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.raw = (function(arg, arg$2) {
|
|
26380
|
-
var prep0 = $as_T(arg);
|
|
26381
|
-
var prep1 = arg$2;
|
|
26382
|
-
return this.$js$exported$meth$raw__T__O__O(prep0, prep1)
|
|
26383
|
-
});
|
|
26384
26405
|
$c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.queryOne = (function(arg, ...rest) {
|
|
26385
26406
|
var prep0 = $as_T(arg);
|
|
26386
26407
|
var prep1 = ((rest[0] === (void 0)) ? this.$js$exported$meth$queryOne$default$2__O() : rest[0]);
|
|
@@ -26388,8 +26409,10 @@ $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.queryOne = (function(arg,
|
|
|
26388
26409
|
var prep3 = ((rest[2] === (void 0)) ? this.$js$exported$meth$queryOne$default$4__sjs_js_Any() : rest[2]);
|
|
26389
26410
|
return this.$js$exported$meth$queryOne__T__O__O__sjs_js_Any__O(prep0, prep1, prep2, prep3)
|
|
26390
26411
|
});
|
|
26391
|
-
$c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.
|
|
26392
|
-
|
|
26412
|
+
$c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.queryBuilder = (function(arg, arg$2) {
|
|
26413
|
+
var prep0 = arg;
|
|
26414
|
+
var prep1 = arg$2;
|
|
26415
|
+
return this.$js$exported$meth$queryBuilder__O__sjs_js_Any__O(prep0, prep1)
|
|
26393
26416
|
});
|
|
26394
26417
|
$c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.count = (function(arg, ...rest) {
|
|
26395
26418
|
var prep0 = $as_T(arg);
|
|
@@ -26398,10 +26421,24 @@ $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.count = (function(arg, ...
|
|
|
26398
26421
|
var prep3 = ((rest[2] === (void 0)) ? this.$js$exported$meth$count$default$4__sjs_js_Any() : rest[2]);
|
|
26399
26422
|
return this.$js$exported$meth$count__T__O__O__sjs_js_Any__O(prep0, prep1, prep2, prep3)
|
|
26400
26423
|
});
|
|
26401
|
-
$c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.
|
|
26402
|
-
var prep0 = arg;
|
|
26424
|
+
$c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.raw = (function(arg, arg$2) {
|
|
26425
|
+
var prep0 = $as_T(arg);
|
|
26403
26426
|
var prep1 = arg$2;
|
|
26404
|
-
return this.$js$exported$meth$
|
|
26427
|
+
return this.$js$exported$meth$raw__T__O__O(prep0, prep1)
|
|
26428
|
+
});
|
|
26429
|
+
$c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.queryMany = (function(arg, ...rest) {
|
|
26430
|
+
var prep0 = $as_T(arg);
|
|
26431
|
+
var prep1 = ((rest[0] === (void 0)) ? this.$js$exported$meth$queryMany$default$2__O() : rest[0]);
|
|
26432
|
+
var prep2 = ((rest[1] === (void 0)) ? this.$js$exported$meth$queryMany$default$3__O() : rest[1]);
|
|
26433
|
+
var prep3 = ((rest[2] === (void 0)) ? this.$js$exported$meth$queryMany$default$4__sjs_js_Any() : rest[2]);
|
|
26434
|
+
return this.$js$exported$meth$queryMany__T__O__O__sjs_js_Any__O(prep0, prep1, prep2, prep3)
|
|
26435
|
+
});
|
|
26436
|
+
$c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.showQuery = (function() {
|
|
26437
|
+
return this.$js$exported$meth$showQuery__O()
|
|
26438
|
+
});
|
|
26439
|
+
$c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.entity = (function(arg) {
|
|
26440
|
+
var prep0 = $as_T(arg);
|
|
26441
|
+
return this.$js$exported$meth$entity__T__O(prep0)
|
|
26405
26442
|
});
|
|
26406
26443
|
var $d_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS = new $TypeData().initClass({
|
|
26407
26444
|
Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS: 0
|
|
@@ -26639,25 +26676,6 @@ $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.$js$exported$meth$raw__T__O__
|
|
|
26639
26676
|
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.$js$exported$meth$rawMulti__T__O = (function(sql) {
|
|
26640
26677
|
return this.rawMulti__T__sjs_js_Promise(sql)
|
|
26641
26678
|
});
|
|
26642
|
-
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.queryMany = (function(arg, ...rest) {
|
|
26643
|
-
var prep0 = $as_T(arg);
|
|
26644
|
-
var prep1 = ((rest[0] === (void 0)) ? this.$js$exported$meth$queryMany$default$2__O() : rest[0]);
|
|
26645
|
-
var prep2 = ((rest[1] === (void 0)) ? this.$js$exported$meth$queryMany$default$3__O() : rest[1]);
|
|
26646
|
-
var prep3 = ((rest[2] === (void 0)) ? this.$js$exported$meth$queryMany$default$4__sjs_js_Any() : rest[2]);
|
|
26647
|
-
return this.$js$exported$meth$queryMany__T__O__O__sjs_js_Any__O(prep0, prep1, prep2, prep3)
|
|
26648
|
-
});
|
|
26649
|
-
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.entity = (function(arg) {
|
|
26650
|
-
var prep0 = $as_T(arg);
|
|
26651
|
-
return this.$js$exported$meth$entity__T__O(prep0)
|
|
26652
|
-
});
|
|
26653
|
-
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.raw = (function(arg, arg$2) {
|
|
26654
|
-
var prep0 = $as_T(arg);
|
|
26655
|
-
var prep1 = arg$2;
|
|
26656
|
-
return this.$js$exported$meth$raw__T__O__O(prep0, prep1)
|
|
26657
|
-
});
|
|
26658
|
-
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.create = (function() {
|
|
26659
|
-
return this.$js$exported$meth$create__O()
|
|
26660
|
-
});
|
|
26661
26679
|
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.queryOne = (function(arg, ...rest) {
|
|
26662
26680
|
var prep0 = $as_T(arg);
|
|
26663
26681
|
var prep1 = ((rest[0] === (void 0)) ? this.$js$exported$meth$queryOne$default$2__O() : rest[0]);
|
|
@@ -26665,8 +26683,10 @@ $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.queryOne = (function(arg, ...
|
|
|
26665
26683
|
var prep3 = ((rest[2] === (void 0)) ? this.$js$exported$meth$queryOne$default$4__sjs_js_Any() : rest[2]);
|
|
26666
26684
|
return this.$js$exported$meth$queryOne__T__O__O__sjs_js_Any__O(prep0, prep1, prep2, prep3)
|
|
26667
26685
|
});
|
|
26668
|
-
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.
|
|
26669
|
-
|
|
26686
|
+
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.queryBuilder = (function(arg, arg$2) {
|
|
26687
|
+
var prep0 = arg;
|
|
26688
|
+
var prep1 = arg$2;
|
|
26689
|
+
return this.$js$exported$meth$queryBuilder__O__sjs_js_Any__O(prep0, prep1)
|
|
26670
26690
|
});
|
|
26671
26691
|
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.count = (function(arg, ...rest) {
|
|
26672
26692
|
var prep0 = $as_T(arg);
|
|
@@ -26679,10 +26699,27 @@ $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.rawMulti = (function(arg) {
|
|
|
26679
26699
|
var prep0 = $as_T(arg);
|
|
26680
26700
|
return this.$js$exported$meth$rawMulti__T__O(prep0)
|
|
26681
26701
|
});
|
|
26682
|
-
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.
|
|
26683
|
-
var prep0 = arg;
|
|
26702
|
+
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.raw = (function(arg, arg$2) {
|
|
26703
|
+
var prep0 = $as_T(arg);
|
|
26684
26704
|
var prep1 = arg$2;
|
|
26685
|
-
return this.$js$exported$meth$
|
|
26705
|
+
return this.$js$exported$meth$raw__T__O__O(prep0, prep1)
|
|
26706
|
+
});
|
|
26707
|
+
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.queryMany = (function(arg, ...rest) {
|
|
26708
|
+
var prep0 = $as_T(arg);
|
|
26709
|
+
var prep1 = ((rest[0] === (void 0)) ? this.$js$exported$meth$queryMany$default$2__O() : rest[0]);
|
|
26710
|
+
var prep2 = ((rest[1] === (void 0)) ? this.$js$exported$meth$queryMany$default$3__O() : rest[1]);
|
|
26711
|
+
var prep3 = ((rest[2] === (void 0)) ? this.$js$exported$meth$queryMany$default$4__sjs_js_Any() : rest[2]);
|
|
26712
|
+
return this.$js$exported$meth$queryMany__T__O__O__sjs_js_Any__O(prep0, prep1, prep2, prep3)
|
|
26713
|
+
});
|
|
26714
|
+
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.showQuery = (function() {
|
|
26715
|
+
return this.$js$exported$meth$showQuery__O()
|
|
26716
|
+
});
|
|
26717
|
+
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.entity = (function(arg) {
|
|
26718
|
+
var prep0 = $as_T(arg);
|
|
26719
|
+
return this.$js$exported$meth$entity__T__O(prep0)
|
|
26720
|
+
});
|
|
26721
|
+
$c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.create = (function() {
|
|
26722
|
+
return this.$js$exported$meth$create__O()
|
|
26686
26723
|
});
|
|
26687
26724
|
var $d_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS = new $TypeData().initClass({
|
|
26688
26725
|
Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS: 0
|
|
@@ -28467,8 +28504,10 @@ var $d_Lio_github_edadma_rdb_Expr = new $TypeData().initClass({
|
|
|
28467
28504
|
function $c_Lio_github_edadma_rdb_MemoryDB(name) {
|
|
28468
28505
|
this.Lio_github_edadma_rdb_MemoryDB__f_name = null;
|
|
28469
28506
|
this.Lio_github_edadma_rdb_MemoryDB__f_tables = null;
|
|
28507
|
+
this.Lio_github_edadma_rdb_MemoryDB__f_types = null;
|
|
28470
28508
|
this.Lio_github_edadma_rdb_MemoryDB__f_name = name;
|
|
28471
|
-
this.Lio_github_edadma_rdb_MemoryDB__f_tables = $ct_scm_HashMap__(new $c_scm_HashMap())
|
|
28509
|
+
this.Lio_github_edadma_rdb_MemoryDB__f_tables = $ct_scm_HashMap__(new $c_scm_HashMap());
|
|
28510
|
+
this.Lio_github_edadma_rdb_MemoryDB__f_types = $ct_scm_HashMap__(new $c_scm_HashMap())
|
|
28472
28511
|
}
|
|
28473
28512
|
$c_Lio_github_edadma_rdb_MemoryDB.prototype = new $h_Lio_github_edadma_rdb_DB();
|
|
28474
28513
|
$c_Lio_github_edadma_rdb_MemoryDB.prototype.constructor = $c_Lio_github_edadma_rdb_MemoryDB;
|
|
@@ -28480,18 +28519,34 @@ $h_Lio_github_edadma_rdb_MemoryDB.prototype = $c_Lio_github_edadma_rdb_MemoryDB.
|
|
|
28480
28519
|
$c_Lio_github_edadma_rdb_MemoryDB.prototype.hasTable__T__Z = (function(name) {
|
|
28481
28520
|
return this.Lio_github_edadma_rdb_MemoryDB__f_tables.contains__O__Z(name)
|
|
28482
28521
|
});
|
|
28483
|
-
$c_Lio_github_edadma_rdb_MemoryDB.prototype.
|
|
28522
|
+
$c_Lio_github_edadma_rdb_MemoryDB.prototype.getTable__T__s_Option = (function(name) {
|
|
28484
28523
|
return this.Lio_github_edadma_rdb_MemoryDB__f_tables.get__O__s_Option(name)
|
|
28485
28524
|
});
|
|
28486
|
-
$c_Lio_github_edadma_rdb_MemoryDB.prototype.
|
|
28487
|
-
|
|
28488
|
-
|
|
28489
|
-
|
|
28490
|
-
|
|
28491
|
-
|
|
28492
|
-
|
|
28493
|
-
|
|
28494
|
-
|
|
28525
|
+
$c_Lio_github_edadma_rdb_MemoryDB.prototype.createTable__T__sci_Seq__Lio_github_edadma_rdb_Table = (function(name, specs) {
|
|
28526
|
+
var requirement = (!this.Lio_github_edadma_rdb_MemoryDB__f_tables.contains__O__Z(name));
|
|
28527
|
+
if ((!requirement)) {
|
|
28528
|
+
throw $ct_jl_IllegalArgumentException__T__(new $c_jl_IllegalArgumentException(), (("requirement failed: " + ("table '" + name)) + "' already exists"))
|
|
28529
|
+
};
|
|
28530
|
+
var res = new $c_Lio_github_edadma_rdb_MemoryTable(name, specs);
|
|
28531
|
+
var this$2 = this.Lio_github_edadma_rdb_MemoryDB__f_tables;
|
|
28532
|
+
$p_scm_HashMap__put0__O__O__Z__s_Some(this$2, name, res, false);
|
|
28533
|
+
return res
|
|
28534
|
+
});
|
|
28535
|
+
$c_Lio_github_edadma_rdb_MemoryDB.prototype.createEnum__T__sci_Seq__V = (function(name, labels) {
|
|
28536
|
+
var requirement = (!this.Lio_github_edadma_rdb_MemoryDB__f_types.contains__O__Z(name));
|
|
28537
|
+
if ((!requirement)) {
|
|
28538
|
+
throw $ct_jl_IllegalArgumentException__T__(new $c_jl_IllegalArgumentException(), (("requirement failed: " + ("type " + name)) + " already exists"))
|
|
28539
|
+
};
|
|
28540
|
+
var this$3 = this.Lio_github_edadma_rdb_MemoryDB__f_types;
|
|
28541
|
+
var labels$1 = labels.toIndexedSeq__sci_IndexedSeq();
|
|
28542
|
+
var value = new $c_Lio_github_edadma_rdb_EnumType(name, labels$1);
|
|
28543
|
+
$p_scm_HashMap__put0__O__O__Z__s_Some(this$3, name, value, false)
|
|
28544
|
+
});
|
|
28545
|
+
$c_Lio_github_edadma_rdb_MemoryDB.prototype.hasType__T__Z = (function(name) {
|
|
28546
|
+
return this.Lio_github_edadma_rdb_MemoryDB__f_types.contains__O__Z(name)
|
|
28547
|
+
});
|
|
28548
|
+
$c_Lio_github_edadma_rdb_MemoryDB.prototype.getType__T__s_Option = (function(name) {
|
|
28549
|
+
return this.Lio_github_edadma_rdb_MemoryDB__f_types.get__O__s_Option(name)
|
|
28495
28550
|
});
|
|
28496
28551
|
$c_Lio_github_edadma_rdb_MemoryDB.prototype.toString__T = (function() {
|
|
28497
28552
|
var $$x1 = this.Lio_github_edadma_rdb_MemoryDB__f_name;
|
|
@@ -35124,24 +35179,6 @@ $c_Lcom_vinctus_oql_DMLParser.prototype.ident__s_util_parsing_combinator_Parsers
|
|
|
35124
35179
|
throw new $c_s_MatchError(x$1$1)
|
|
35125
35180
|
}))(this)))
|
|
35126
35181
|
});
|
|
35127
|
-
$c_Lcom_vinctus_oql_DMLParser.prototype.label__s_util_parsing_combinator_Parsers$Parser = (function() {
|
|
35128
|
-
return this.pos__s_util_parsing_combinator_Parsers$Parser().$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$1) => (() => {
|
|
35129
|
-
var r = $ct_s_util_matching_Regex__T__sci_Seq__(new $c_s_util_matching_Regex(), "'[^']+'", $m_sci_Nil$());
|
|
35130
|
-
return new $c_s_util_parsing_combinator_RegexParsers$$anon$2(r, this$1)
|
|
35131
|
-
}))(this))).$up$up__F1__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction1(((this$2$1) => ((x$1) => {
|
|
35132
|
-
var x$1$1 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1);
|
|
35133
|
-
if ((x$1$1 !== null)) {
|
|
35134
|
-
this$2$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35135
|
-
var p = $as_s_util_parsing_input_Position(x$1$1.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35136
|
-
var l = $as_T(x$1$1.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35137
|
-
var $$x1 = $m_sc_StringOps$();
|
|
35138
|
-
var x = $m_sc_StringOps$().drop$extension__T__I__T(l, 1);
|
|
35139
|
-
var s = $$x1.dropRight$extension__T__I__T(x, 1);
|
|
35140
|
-
return new $c_Lcom_vinctus_oql_Ident(s, p)
|
|
35141
|
-
};
|
|
35142
|
-
throw new $c_s_MatchError(x$1$1)
|
|
35143
|
-
}))(this)))
|
|
35144
|
-
});
|
|
35145
35182
|
$c_Lcom_vinctus_oql_DMLParser.prototype.model__s_util_parsing_combinator_Parsers$Parser = (function() {
|
|
35146
35183
|
var p = new $c_sjsr_AnonFunction0(((this$1) => (() => this$1.entity__s_util_parsing_combinator_Parsers$Parser().$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2) => (() => this$2.enumType__s_util_parsing_combinator_Parsers$Parser()))(this$1)))))(this));
|
|
35147
35184
|
return $f_s_util_parsing_combinator_Parsers__rep1__F0__F0__s_util_parsing_combinator_Parsers$Parser(this, p, p).$up$up__F1__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction1(((decls) => {
|
|
@@ -35152,23 +35189,23 @@ $c_Lcom_vinctus_oql_DMLParser.prototype.model__s_util_parsing_combinator_Parsers
|
|
|
35152
35189
|
$c_Lcom_vinctus_oql_DMLParser.prototype.enumType__s_util_parsing_combinator_Parsers$Parser = (function() {
|
|
35153
35190
|
var r = this.kw__T__s_util_matching_Regex("enum");
|
|
35154
35191
|
return new $c_s_util_parsing_combinator_RegexParsers$$anon$2(r, this).$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$1) => (() => this$1.ident__s_util_parsing_combinator_Parsers$Parser()))(this))).$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2) => (() => new $c_s_util_parsing_combinator_RegexParsers$$anon$1("{", this$2)))(this))).$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$3) => (() => {
|
|
35155
|
-
var p = new $c_sjsr_AnonFunction0(((this$4) => (() => this$4.
|
|
35192
|
+
var p = new $c_sjsr_AnonFunction0(((this$4) => (() => this$4.ident__s_util_parsing_combinator_Parsers$Parser()))(this$3));
|
|
35156
35193
|
return $f_s_util_parsing_combinator_Parsers__rep1__F0__F0__s_util_parsing_combinator_Parsers$Parser(this$3, p, p)
|
|
35157
35194
|
}))(this))).$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$4$1) => (() => new $c_s_util_parsing_combinator_RegexParsers$$anon$1("}", this$4$1)))(this))).$up$up__F1__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction1(((this$5) => ((x$1) => {
|
|
35158
35195
|
var x$1$1 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1);
|
|
35159
35196
|
if ((x$1$1 !== null)) {
|
|
35160
35197
|
this$5.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35161
|
-
var
|
|
35162
|
-
if ((
|
|
35198
|
+
var x7 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$1.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35199
|
+
if ((x7 !== null)) {
|
|
35163
35200
|
this$5.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35164
|
-
var
|
|
35165
|
-
if ((
|
|
35201
|
+
var x10 = $as_s_util_parsing_combinator_Parsers$$tilde(x7.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35202
|
+
if ((x10 !== null)) {
|
|
35166
35203
|
this$5.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35167
|
-
var
|
|
35168
|
-
if ((
|
|
35204
|
+
var x13 = $as_s_util_parsing_combinator_Parsers$$tilde(x10.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35205
|
+
if ((x13 !== null)) {
|
|
35169
35206
|
this$5.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35170
|
-
var n = $as_Lcom_vinctus_oql_Ident(
|
|
35171
|
-
var ls = $as_sci_List(
|
|
35207
|
+
var n = $as_Lcom_vinctus_oql_Ident(x13.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35208
|
+
var ls = $as_sci_List(x7.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35172
35209
|
return new $c_Lcom_vinctus_oql_DMLEnum(n, ls)
|
|
35173
35210
|
}
|
|
35174
35211
|
}
|
|
@@ -35189,21 +35226,21 @@ $c_Lcom_vinctus_oql_DMLParser.prototype.entity__s_util_parsing_combinator_Parser
|
|
|
35189
35226
|
var x$1$1 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1);
|
|
35190
35227
|
if ((x$1$1 !== null)) {
|
|
35191
35228
|
this$6$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35192
|
-
var
|
|
35193
|
-
if ((
|
|
35229
|
+
var x20 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$1.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35230
|
+
if ((x20 !== null)) {
|
|
35194
35231
|
this$6$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35195
|
-
var
|
|
35196
|
-
if ((
|
|
35232
|
+
var x23 = $as_s_util_parsing_combinator_Parsers$$tilde(x20.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35233
|
+
if ((x23 !== null)) {
|
|
35197
35234
|
this$6$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35198
|
-
var
|
|
35199
|
-
if ((
|
|
35235
|
+
var x26 = $as_s_util_parsing_combinator_Parsers$$tilde(x23.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35236
|
+
if ((x26 !== null)) {
|
|
35200
35237
|
this$6$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35201
|
-
var
|
|
35202
|
-
if ((
|
|
35238
|
+
var x29 = $as_s_util_parsing_combinator_Parsers$$tilde(x26.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35239
|
+
if ((x29 !== null)) {
|
|
35203
35240
|
this$6$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35204
|
-
var n = $as_Lcom_vinctus_oql_Ident(
|
|
35205
|
-
var a = $as_s_Option(
|
|
35206
|
-
var as = $as_sci_List(
|
|
35241
|
+
var n = $as_Lcom_vinctus_oql_Ident(x29.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35242
|
+
var a = $as_s_Option(x26.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35243
|
+
var as = $as_sci_List(x20.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35207
35244
|
return new $c_Lcom_vinctus_oql_DMLEntity(n, a, as)
|
|
35208
35245
|
}
|
|
35209
35246
|
}
|
|
@@ -35227,22 +35264,22 @@ $c_Lcom_vinctus_oql_DMLParser.prototype.attribute__s_util_parsing_combinator_Par
|
|
|
35227
35264
|
var x$1$2 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$1);
|
|
35228
35265
|
if ((x$1$2 !== null)) {
|
|
35229
35266
|
this$7$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35230
|
-
var
|
|
35231
|
-
if ((
|
|
35267
|
+
var x36 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$2.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35268
|
+
if ((x36 !== null)) {
|
|
35232
35269
|
this$7$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35233
|
-
var
|
|
35234
|
-
if ((
|
|
35270
|
+
var x39 = $as_s_util_parsing_combinator_Parsers$$tilde(x36.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35271
|
+
if ((x39 !== null)) {
|
|
35235
35272
|
this$7$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35236
|
-
var
|
|
35237
|
-
if ((
|
|
35273
|
+
var x42 = $as_s_util_parsing_combinator_Parsers$$tilde(x39.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35274
|
+
if ((x42 !== null)) {
|
|
35238
35275
|
this$7$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35239
|
-
var
|
|
35240
|
-
if ((
|
|
35276
|
+
var x45 = $as_s_util_parsing_combinator_Parsers$$tilde(x42.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35277
|
+
if ((x45 !== null)) {
|
|
35241
35278
|
this$7$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35242
|
-
var pk = $as_s_Option(
|
|
35243
|
-
var n = $as_Lcom_vinctus_oql_Ident(
|
|
35244
|
-
var a = $as_s_Option(
|
|
35245
|
-
var t = $as_Lcom_vinctus_oql_DMLTypeSpecifier(
|
|
35279
|
+
var pk = $as_s_Option(x45.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35280
|
+
var n = $as_Lcom_vinctus_oql_Ident(x45.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35281
|
+
var a = $as_s_Option(x42.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35282
|
+
var t = $as_Lcom_vinctus_oql_DMLTypeSpecifier(x36.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35246
35283
|
var r = $as_s_Option(x$1$2.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35247
35284
|
var pk$1 = (!pk.isEmpty__Z());
|
|
35248
35285
|
var required = (!r.isEmpty__Z());
|
|
@@ -35305,20 +35342,20 @@ $c_Lcom_vinctus_oql_DMLParser.prototype.typeSpecifier__s_util_parsing_combinator
|
|
|
35305
35342
|
var x$1$1 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1);
|
|
35306
35343
|
if ((x$1$1 !== null)) {
|
|
35307
35344
|
this$6$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35308
|
-
var
|
|
35309
|
-
if ((
|
|
35345
|
+
var x52 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$1.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35346
|
+
if ((x52 !== null)) {
|
|
35310
35347
|
this$6$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35311
|
-
var
|
|
35312
|
-
if ((
|
|
35348
|
+
var x55 = $as_s_util_parsing_combinator_Parsers$$tilde(x52.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35349
|
+
if ((x55 !== null)) {
|
|
35313
35350
|
this$6$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35314
|
-
var
|
|
35315
|
-
if ((
|
|
35351
|
+
var x58 = $as_s_util_parsing_combinator_Parsers$$tilde(x55.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35352
|
+
if ((x58 !== null)) {
|
|
35316
35353
|
this$6$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35317
|
-
if ((
|
|
35354
|
+
if ((x58.s_util_parsing_combinator_Parsers$$tilde__f__1 !== null)) {
|
|
35318
35355
|
this$6$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35319
|
-
$as_s_util_parsing_combinator_Parsers$$tilde(
|
|
35320
|
-
var p = $as_T(
|
|
35321
|
-
var s = $as_T(
|
|
35356
|
+
$as_s_util_parsing_combinator_Parsers$$tilde(x58.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35357
|
+
var p = $as_T(x58.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35358
|
+
var s = $as_T(x52.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35322
35359
|
$m_s_package$();
|
|
35323
35360
|
var elems = $m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)([p, s]));
|
|
35324
35361
|
var parameters = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems);
|
|
@@ -35337,20 +35374,20 @@ $c_Lcom_vinctus_oql_DMLParser.prototype.typeSpecifier__s_util_parsing_combinator
|
|
|
35337
35374
|
var x$1$4 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$3);
|
|
35338
35375
|
if ((x$1$4 !== null)) {
|
|
35339
35376
|
this$6$2.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35340
|
-
var
|
|
35341
|
-
if ((
|
|
35377
|
+
var x68 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$4.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35378
|
+
if ((x68 !== null)) {
|
|
35342
35379
|
this$6$2.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35343
|
-
var
|
|
35344
|
-
if ((
|
|
35380
|
+
var x71 = $as_s_util_parsing_combinator_Parsers$$tilde(x68.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35381
|
+
if ((x71 !== null)) {
|
|
35345
35382
|
this$6$2.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35346
|
-
var
|
|
35347
|
-
if ((
|
|
35383
|
+
var x74 = $as_s_util_parsing_combinator_Parsers$$tilde(x71.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35384
|
+
if ((x74 !== null)) {
|
|
35348
35385
|
this$6$2.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35349
|
-
var
|
|
35350
|
-
if ((
|
|
35386
|
+
var x77 = $as_s_util_parsing_combinator_Parsers$$tilde(x74.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35387
|
+
if ((x77 !== null)) {
|
|
35351
35388
|
this$6$2.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35352
|
-
var n = $as_Lcom_vinctus_oql_Ident(
|
|
35353
|
-
var l = $as_Lcom_vinctus_oql_Ident(
|
|
35389
|
+
var n = $as_Lcom_vinctus_oql_Ident(x77.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35390
|
+
var l = $as_Lcom_vinctus_oql_Ident(x68.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35354
35391
|
return new $c_Lcom_vinctus_oql_DMLManyToManyType(n, l)
|
|
35355
35392
|
}
|
|
35356
35393
|
}
|
|
@@ -35365,13 +35402,13 @@ $c_Lcom_vinctus_oql_DMLParser.prototype.typeSpecifier__s_util_parsing_combinator
|
|
|
35365
35402
|
var x$1$6 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$5);
|
|
35366
35403
|
if ((x$1$6 !== null)) {
|
|
35367
35404
|
this$4$3.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35368
|
-
var
|
|
35369
|
-
if ((
|
|
35405
|
+
var x84 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$6.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35406
|
+
if ((x84 !== null)) {
|
|
35370
35407
|
this$4$3.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35371
|
-
var
|
|
35372
|
-
if ((
|
|
35408
|
+
var x87 = $as_s_util_parsing_combinator_Parsers$$tilde(x84.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35409
|
+
if ((x87 !== null)) {
|
|
35373
35410
|
this$4$3.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35374
|
-
var n$1 = $as_Lcom_vinctus_oql_Ident(
|
|
35411
|
+
var n$1 = $as_Lcom_vinctus_oql_Ident(x87.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35375
35412
|
var t = $as_s_Option(x$1$6.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35376
35413
|
return new $c_Lcom_vinctus_oql_DMLOneToManyType(n$1, t)
|
|
35377
35414
|
}
|
|
@@ -35385,13 +35422,13 @@ $c_Lcom_vinctus_oql_DMLParser.prototype.typeSpecifier__s_util_parsing_combinator
|
|
|
35385
35422
|
var x$1$8 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$7);
|
|
35386
35423
|
if ((x$1$8 !== null)) {
|
|
35387
35424
|
this$4$4.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35388
|
-
var
|
|
35389
|
-
if ((
|
|
35425
|
+
var x94 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$8.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35426
|
+
if ((x94 !== null)) {
|
|
35390
35427
|
this$4$4.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35391
|
-
var
|
|
35392
|
-
if ((
|
|
35428
|
+
var x97 = $as_s_util_parsing_combinator_Parsers$$tilde(x94.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
35429
|
+
if ((x97 !== null)) {
|
|
35393
35430
|
this$4$4.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
35394
|
-
var n$2 = $as_Lcom_vinctus_oql_Ident(
|
|
35431
|
+
var n$2 = $as_Lcom_vinctus_oql_Ident(x97.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35395
35432
|
var t$1 = $as_s_Option(x$1$8.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
35396
35433
|
return new $c_Lcom_vinctus_oql_DMLOneToOneType(n$2, t$1)
|
|
35397
35434
|
}
|
|
@@ -35403,23 +35440,23 @@ $c_Lcom_vinctus_oql_DMLParser.prototype.typeSpecifier__s_util_parsing_combinator
|
|
|
35403
35440
|
$c_Lcom_vinctus_oql_DMLParser.prototype.parseModel__T__Lcom_vinctus_oql_DMLModel = (function(src) {
|
|
35404
35441
|
var p = this.model__s_util_parsing_combinator_Parsers$Parser();
|
|
35405
35442
|
var in$1 = $ct_s_util_parsing_input_CharSequenceReader__jl_CharSequence__(new $c_s_util_parsing_input_CharSequenceReader(), src);
|
|
35406
|
-
var
|
|
35407
|
-
if (((
|
|
35443
|
+
var x102 = $f_s_util_parsing_combinator_RegexParsers__parseAll__s_util_parsing_combinator_Parsers$Parser__s_util_parsing_input_Reader__s_util_parsing_combinator_Parsers$ParseResult(this, p, in$1);
|
|
35444
|
+
if (((x102 instanceof $c_s_util_parsing_combinator_Parsers$Success) && ($as_s_util_parsing_combinator_Parsers$Success(x102).s_util_parsing_combinator_Parsers$Success__f_$outer === this))) {
|
|
35408
35445
|
this.Success__s_util_parsing_combinator_Parsers$Success$();
|
|
35409
|
-
var x$1 = $as_s_util_parsing_combinator_Parsers$Success(
|
|
35410
|
-
var
|
|
35411
|
-
return
|
|
35412
|
-
};
|
|
35413
|
-
if ((
|
|
35414
|
-
var
|
|
35415
|
-
if ((!
|
|
35416
|
-
var
|
|
35417
|
-
var error = $as_T(
|
|
35418
|
-
var rest = $as_s_util_parsing_input_Reader(
|
|
35446
|
+
var x$1 = $as_s_util_parsing_combinator_Parsers$Success(x102);
|
|
35447
|
+
var x109 = $as_Lcom_vinctus_oql_DMLModel(x$1.s_util_parsing_combinator_Parsers$Success__f_result);
|
|
35448
|
+
return x109
|
|
35449
|
+
};
|
|
35450
|
+
if ((x102 !== null)) {
|
|
35451
|
+
var x103 = this.NoSuccess__s_util_parsing_combinator_Parsers$NoSuccess$().unapply__s_util_parsing_combinator_Parsers$ParseResult__s_Option(x102);
|
|
35452
|
+
if ((!x103.isEmpty__Z())) {
|
|
35453
|
+
var x104 = $as_T2(x103.get__O());
|
|
35454
|
+
var error = $as_T(x104._1__O());
|
|
35455
|
+
var rest = $as_s_util_parsing_input_Reader(x104._2__O());
|
|
35419
35456
|
$m_Lcom_vinctus_oql_package$().problem__s_util_parsing_input_Position__T__T__E(rest.pos__s_util_parsing_input_Position(), error, src)
|
|
35420
35457
|
}
|
|
35421
35458
|
};
|
|
35422
|
-
throw new $c_s_MatchError(
|
|
35459
|
+
throw new $c_s_MatchError(x102)
|
|
35423
35460
|
});
|
|
35424
35461
|
var $d_Lcom_vinctus_oql_DMLParser = new $TypeData().initClass({
|
|
35425
35462
|
Lcom_vinctus_oql_DMLParser: 0
|
|
@@ -35705,7 +35742,7 @@ function $c_Lcom_vinctus_oql_RDBDataSource(ec) {
|
|
|
35705
35742
|
this.Lcom_vinctus_oql_RDBDataSource__f_resultArrayFunctionEnd = ")";
|
|
35706
35743
|
this.Lcom_vinctus_oql_RDBDataSource__f_rowSequenceFunctionStart = "";
|
|
35707
35744
|
this.Lcom_vinctus_oql_RDBDataSource__f_rowSequenceFunctionEnd = "";
|
|
35708
|
-
this.Lcom_vinctus_oql_RDBDataSource__f_typeFunction = new $c_s_Some("
|
|
35745
|
+
this.Lcom_vinctus_oql_RDBDataSource__f_typeFunction = new $c_s_Some("TYPEOF(?)");
|
|
35709
35746
|
this.Lcom_vinctus_oql_RDBDataSource__f_convertFunction = $m_s_None$();
|
|
35710
35747
|
this.Lcom_vinctus_oql_RDBDataSource__f_caseSensitive = true;
|
|
35711
35748
|
var this$14 = $m_s_Predef$().s_Predef$__f_Map;
|
|
@@ -53180,6 +53217,15 @@ $c_s_util_Either.prototype.toOption__s_Option = (function() {
|
|
|
53180
53217
|
return $m_s_None$()
|
|
53181
53218
|
}
|
|
53182
53219
|
});
|
|
53220
|
+
function $as_s_util_Either(obj) {
|
|
53221
|
+
return (((obj instanceof $c_s_util_Either) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.util.Either"))
|
|
53222
|
+
}
|
|
53223
|
+
function $isArrayOf_s_util_Either(obj, depth) {
|
|
53224
|
+
return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.s_util_Either)))
|
|
53225
|
+
}
|
|
53226
|
+
function $asArrayOf_s_util_Either(obj, depth) {
|
|
53227
|
+
return (($isArrayOf_s_util_Either(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.util.Either;", depth))
|
|
53228
|
+
}
|
|
53183
53229
|
/** @constructor */
|
|
53184
53230
|
function $c_s_util_Either$LeftProjection(e) {
|
|
53185
53231
|
this.s_util_Either$LeftProjection__f_e = null;
|
|
@@ -58559,6 +58605,83 @@ var $d_Lio_github_edadma_rdb_ColumnSpec = new $TypeData().initClass({
|
|
|
58559
58605
|
});
|
|
58560
58606
|
$c_Lio_github_edadma_rdb_ColumnSpec.prototype.$classData = $d_Lio_github_edadma_rdb_ColumnSpec;
|
|
58561
58607
|
/** @constructor */
|
|
58608
|
+
function $c_Lio_github_edadma_rdb_CreateEnumCommand(name, labels) {
|
|
58609
|
+
this.Lio_github_edadma_rdb_CreateEnumCommand__f_name = null;
|
|
58610
|
+
this.Lio_github_edadma_rdb_CreateEnumCommand__f_labels = null;
|
|
58611
|
+
this.Lio_github_edadma_rdb_CreateEnumCommand__f_name = name;
|
|
58612
|
+
this.Lio_github_edadma_rdb_CreateEnumCommand__f_labels = labels
|
|
58613
|
+
}
|
|
58614
|
+
$c_Lio_github_edadma_rdb_CreateEnumCommand.prototype = new $h_O();
|
|
58615
|
+
$c_Lio_github_edadma_rdb_CreateEnumCommand.prototype.constructor = $c_Lio_github_edadma_rdb_CreateEnumCommand;
|
|
58616
|
+
/** @constructor */
|
|
58617
|
+
function $h_Lio_github_edadma_rdb_CreateEnumCommand() {
|
|
58618
|
+
/*<skip>*/
|
|
58619
|
+
}
|
|
58620
|
+
$h_Lio_github_edadma_rdb_CreateEnumCommand.prototype = $c_Lio_github_edadma_rdb_CreateEnumCommand.prototype;
|
|
58621
|
+
$c_Lio_github_edadma_rdb_CreateEnumCommand.prototype.productIterator__sc_Iterator = (function() {
|
|
58622
|
+
return new $c_s_Product$$anon$1(this)
|
|
58623
|
+
});
|
|
58624
|
+
$c_Lio_github_edadma_rdb_CreateEnumCommand.prototype.hashCode__I = (function() {
|
|
58625
|
+
var this$2 = $m_s_util_hashing_MurmurHash3$();
|
|
58626
|
+
return this$2.productHash__s_Product__I__Z__I(this, (-889275714), false)
|
|
58627
|
+
});
|
|
58628
|
+
$c_Lio_github_edadma_rdb_CreateEnumCommand.prototype.equals__O__Z = (function(x$0) {
|
|
58629
|
+
if ((this === x$0)) {
|
|
58630
|
+
return true
|
|
58631
|
+
} else if ((x$0 instanceof $c_Lio_github_edadma_rdb_CreateEnumCommand)) {
|
|
58632
|
+
var x$0$2 = $as_Lio_github_edadma_rdb_CreateEnumCommand(x$0);
|
|
58633
|
+
var x = this.Lio_github_edadma_rdb_CreateEnumCommand__f_name;
|
|
58634
|
+
var x$2 = x$0$2.Lio_github_edadma_rdb_CreateEnumCommand__f_name;
|
|
58635
|
+
if (((x === null) ? (x$2 === null) : x.equals__O__Z(x$2))) {
|
|
58636
|
+
var x$3 = this.Lio_github_edadma_rdb_CreateEnumCommand__f_labels;
|
|
58637
|
+
var x$4 = x$0$2.Lio_github_edadma_rdb_CreateEnumCommand__f_labels;
|
|
58638
|
+
return ((x$3 === null) ? (x$4 === null) : x$3.equals__O__Z(x$4))
|
|
58639
|
+
} else {
|
|
58640
|
+
return false
|
|
58641
|
+
}
|
|
58642
|
+
} else {
|
|
58643
|
+
return false
|
|
58644
|
+
}
|
|
58645
|
+
});
|
|
58646
|
+
$c_Lio_github_edadma_rdb_CreateEnumCommand.prototype.toString__T = (function() {
|
|
58647
|
+
return $m_sr_ScalaRunTime$()._toString__s_Product__T(this)
|
|
58648
|
+
});
|
|
58649
|
+
$c_Lio_github_edadma_rdb_CreateEnumCommand.prototype.productArity__I = (function() {
|
|
58650
|
+
return 2
|
|
58651
|
+
});
|
|
58652
|
+
$c_Lio_github_edadma_rdb_CreateEnumCommand.prototype.productPrefix__T = (function() {
|
|
58653
|
+
return "CreateEnumCommand"
|
|
58654
|
+
});
|
|
58655
|
+
$c_Lio_github_edadma_rdb_CreateEnumCommand.prototype.productElement__I__O = (function(n) {
|
|
58656
|
+
if ((n === 0)) {
|
|
58657
|
+
return this.Lio_github_edadma_rdb_CreateEnumCommand__f_name
|
|
58658
|
+
};
|
|
58659
|
+
if ((n === 1)) {
|
|
58660
|
+
return this.Lio_github_edadma_rdb_CreateEnumCommand__f_labels
|
|
58661
|
+
};
|
|
58662
|
+
throw $ct_jl_IndexOutOfBoundsException__T__(new $c_jl_IndexOutOfBoundsException(), ("" + n))
|
|
58663
|
+
});
|
|
58664
|
+
function $as_Lio_github_edadma_rdb_CreateEnumCommand(obj) {
|
|
58665
|
+
return (((obj instanceof $c_Lio_github_edadma_rdb_CreateEnumCommand) || (obj === null)) ? obj : $throwClassCastException(obj, "io.github.edadma.rdb.CreateEnumCommand"))
|
|
58666
|
+
}
|
|
58667
|
+
function $isArrayOf_Lio_github_edadma_rdb_CreateEnumCommand(obj, depth) {
|
|
58668
|
+
return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lio_github_edadma_rdb_CreateEnumCommand)))
|
|
58669
|
+
}
|
|
58670
|
+
function $asArrayOf_Lio_github_edadma_rdb_CreateEnumCommand(obj, depth) {
|
|
58671
|
+
return (($isArrayOf_Lio_github_edadma_rdb_CreateEnumCommand(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lio.github.edadma.rdb.CreateEnumCommand;", depth))
|
|
58672
|
+
}
|
|
58673
|
+
var $d_Lio_github_edadma_rdb_CreateEnumCommand = new $TypeData().initClass({
|
|
58674
|
+
Lio_github_edadma_rdb_CreateEnumCommand: 0
|
|
58675
|
+
}, false, "io.github.edadma.rdb.CreateEnumCommand", {
|
|
58676
|
+
Lio_github_edadma_rdb_CreateEnumCommand: 1,
|
|
58677
|
+
O: 1,
|
|
58678
|
+
Lio_github_edadma_rdb_Command: 1,
|
|
58679
|
+
s_Equals: 1,
|
|
58680
|
+
s_Product: 1,
|
|
58681
|
+
Ljava_io_Serializable: 1
|
|
58682
|
+
});
|
|
58683
|
+
$c_Lio_github_edadma_rdb_CreateEnumCommand.prototype.$classData = $d_Lio_github_edadma_rdb_CreateEnumCommand;
|
|
58684
|
+
/** @constructor */
|
|
58562
58685
|
function $c_Lio_github_edadma_rdb_CreateTableCommand(table, columns) {
|
|
58563
58686
|
this.Lio_github_edadma_rdb_CreateTableCommand__f_table = null;
|
|
58564
58687
|
this.Lio_github_edadma_rdb_CreateTableCommand__f_columns = null;
|
|
@@ -58700,6 +58823,70 @@ var $d_Lio_github_edadma_rdb_CreateTableResult = new $TypeData().initClass({
|
|
|
58700
58823
|
});
|
|
58701
58824
|
$c_Lio_github_edadma_rdb_CreateTableResult.prototype.$classData = $d_Lio_github_edadma_rdb_CreateTableResult;
|
|
58702
58825
|
/** @constructor */
|
|
58826
|
+
function $c_Lio_github_edadma_rdb_CreateTypeResult(typ) {
|
|
58827
|
+
this.Lio_github_edadma_rdb_CreateTypeResult__f_typ = null;
|
|
58828
|
+
this.Lio_github_edadma_rdb_CreateTypeResult__f_typ = typ
|
|
58829
|
+
}
|
|
58830
|
+
$c_Lio_github_edadma_rdb_CreateTypeResult.prototype = new $h_O();
|
|
58831
|
+
$c_Lio_github_edadma_rdb_CreateTypeResult.prototype.constructor = $c_Lio_github_edadma_rdb_CreateTypeResult;
|
|
58832
|
+
/** @constructor */
|
|
58833
|
+
function $h_Lio_github_edadma_rdb_CreateTypeResult() {
|
|
58834
|
+
/*<skip>*/
|
|
58835
|
+
}
|
|
58836
|
+
$h_Lio_github_edadma_rdb_CreateTypeResult.prototype = $c_Lio_github_edadma_rdb_CreateTypeResult.prototype;
|
|
58837
|
+
$c_Lio_github_edadma_rdb_CreateTypeResult.prototype.productIterator__sc_Iterator = (function() {
|
|
58838
|
+
return new $c_s_Product$$anon$1(this)
|
|
58839
|
+
});
|
|
58840
|
+
$c_Lio_github_edadma_rdb_CreateTypeResult.prototype.hashCode__I = (function() {
|
|
58841
|
+
var this$2 = $m_s_util_hashing_MurmurHash3$();
|
|
58842
|
+
return this$2.productHash__s_Product__I__Z__I(this, (-889275714), false)
|
|
58843
|
+
});
|
|
58844
|
+
$c_Lio_github_edadma_rdb_CreateTypeResult.prototype.equals__O__Z = (function(x$0) {
|
|
58845
|
+
if ((this === x$0)) {
|
|
58846
|
+
return true
|
|
58847
|
+
} else if ((x$0 instanceof $c_Lio_github_edadma_rdb_CreateTypeResult)) {
|
|
58848
|
+
var x$0$2 = $as_Lio_github_edadma_rdb_CreateTypeResult(x$0);
|
|
58849
|
+
return (this.Lio_github_edadma_rdb_CreateTypeResult__f_typ === x$0$2.Lio_github_edadma_rdb_CreateTypeResult__f_typ)
|
|
58850
|
+
} else {
|
|
58851
|
+
return false
|
|
58852
|
+
}
|
|
58853
|
+
});
|
|
58854
|
+
$c_Lio_github_edadma_rdb_CreateTypeResult.prototype.toString__T = (function() {
|
|
58855
|
+
return $m_sr_ScalaRunTime$()._toString__s_Product__T(this)
|
|
58856
|
+
});
|
|
58857
|
+
$c_Lio_github_edadma_rdb_CreateTypeResult.prototype.productArity__I = (function() {
|
|
58858
|
+
return 1
|
|
58859
|
+
});
|
|
58860
|
+
$c_Lio_github_edadma_rdb_CreateTypeResult.prototype.productPrefix__T = (function() {
|
|
58861
|
+
return "CreateTypeResult"
|
|
58862
|
+
});
|
|
58863
|
+
$c_Lio_github_edadma_rdb_CreateTypeResult.prototype.productElement__I__O = (function(n) {
|
|
58864
|
+
if ((n === 0)) {
|
|
58865
|
+
return this.Lio_github_edadma_rdb_CreateTypeResult__f_typ
|
|
58866
|
+
};
|
|
58867
|
+
throw $ct_jl_IndexOutOfBoundsException__T__(new $c_jl_IndexOutOfBoundsException(), ("" + n))
|
|
58868
|
+
});
|
|
58869
|
+
function $as_Lio_github_edadma_rdb_CreateTypeResult(obj) {
|
|
58870
|
+
return (((obj instanceof $c_Lio_github_edadma_rdb_CreateTypeResult) || (obj === null)) ? obj : $throwClassCastException(obj, "io.github.edadma.rdb.CreateTypeResult"))
|
|
58871
|
+
}
|
|
58872
|
+
function $isArrayOf_Lio_github_edadma_rdb_CreateTypeResult(obj, depth) {
|
|
58873
|
+
return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lio_github_edadma_rdb_CreateTypeResult)))
|
|
58874
|
+
}
|
|
58875
|
+
function $asArrayOf_Lio_github_edadma_rdb_CreateTypeResult(obj, depth) {
|
|
58876
|
+
return (($isArrayOf_Lio_github_edadma_rdb_CreateTypeResult(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lio.github.edadma.rdb.CreateTypeResult;", depth))
|
|
58877
|
+
}
|
|
58878
|
+
var $d_Lio_github_edadma_rdb_CreateTypeResult = new $TypeData().initClass({
|
|
58879
|
+
Lio_github_edadma_rdb_CreateTypeResult: 0
|
|
58880
|
+
}, false, "io.github.edadma.rdb.CreateTypeResult", {
|
|
58881
|
+
Lio_github_edadma_rdb_CreateTypeResult: 1,
|
|
58882
|
+
O: 1,
|
|
58883
|
+
Lio_github_edadma_rdb_Result: 1,
|
|
58884
|
+
s_Equals: 1,
|
|
58885
|
+
s_Product: 1,
|
|
58886
|
+
Ljava_io_Serializable: 1
|
|
58887
|
+
});
|
|
58888
|
+
$c_Lio_github_edadma_rdb_CreateTypeResult.prototype.$classData = $d_Lio_github_edadma_rdb_CreateTypeResult;
|
|
58889
|
+
/** @constructor */
|
|
58703
58890
|
function $c_Lio_github_edadma_rdb_CrossProcess(input1, input2) {
|
|
58704
58891
|
this.Lio_github_edadma_rdb_CrossProcess__f_input1 = null;
|
|
58705
58892
|
this.Lio_github_edadma_rdb_CrossProcess__f_input2 = null;
|
|
@@ -58885,6 +59072,106 @@ var $d_Lio_github_edadma_rdb_DeleteResult = new $TypeData().initClass({
|
|
|
58885
59072
|
});
|
|
58886
59073
|
$c_Lio_github_edadma_rdb_DeleteResult.prototype.$classData = $d_Lio_github_edadma_rdb_DeleteResult;
|
|
58887
59074
|
/** @constructor */
|
|
59075
|
+
function $c_Lio_github_edadma_rdb_EnumType(enumName, labels) {
|
|
59076
|
+
this.Lio_github_edadma_rdb_EnumType__f_name = null;
|
|
59077
|
+
this.Lio_github_edadma_rdb_EnumType__f_enumName = null;
|
|
59078
|
+
this.Lio_github_edadma_rdb_EnumType__f_labels = null;
|
|
59079
|
+
this.Lio_github_edadma_rdb_EnumType__f_labelsMap = null;
|
|
59080
|
+
this.Lio_github_edadma_rdb_EnumType__f_enumName = enumName;
|
|
59081
|
+
this.Lio_github_edadma_rdb_EnumType__f_labels = labels;
|
|
59082
|
+
this.Lio_github_edadma_rdb_EnumType__f_name = enumName;
|
|
59083
|
+
var $$x1 = $as_sc_IterableOnceOps(labels.zipWithIndex__O());
|
|
59084
|
+
var this$1 = $m_s_$less$colon$less$();
|
|
59085
|
+
this.Lio_github_edadma_rdb_EnumType__f_labelsMap = $$x1.toMap__s_$less$colon$less__sci_Map(this$1.s_$less$colon$less$__f_singleton)
|
|
59086
|
+
}
|
|
59087
|
+
$c_Lio_github_edadma_rdb_EnumType.prototype = new $h_O();
|
|
59088
|
+
$c_Lio_github_edadma_rdb_EnumType.prototype.constructor = $c_Lio_github_edadma_rdb_EnumType;
|
|
59089
|
+
/** @constructor */
|
|
59090
|
+
function $h_Lio_github_edadma_rdb_EnumType() {
|
|
59091
|
+
/*<skip>*/
|
|
59092
|
+
}
|
|
59093
|
+
$h_Lio_github_edadma_rdb_EnumType.prototype = $c_Lio_github_edadma_rdb_EnumType.prototype;
|
|
59094
|
+
$c_Lio_github_edadma_rdb_EnumType.prototype.name__T = (function() {
|
|
59095
|
+
return this.Lio_github_edadma_rdb_EnumType__f_name
|
|
59096
|
+
});
|
|
59097
|
+
$c_Lio_github_edadma_rdb_EnumType.prototype.init__Lio_github_edadma_rdb_Value = (function() {
|
|
59098
|
+
return $f_Lio_github_edadma_rdb_Type__init__Lio_github_edadma_rdb_Value(this)
|
|
59099
|
+
});
|
|
59100
|
+
$c_Lio_github_edadma_rdb_EnumType.prototype.productIterator__sc_Iterator = (function() {
|
|
59101
|
+
return new $c_s_Product$$anon$1(this)
|
|
59102
|
+
});
|
|
59103
|
+
$c_Lio_github_edadma_rdb_EnumType.prototype.hashCode__I = (function() {
|
|
59104
|
+
var this$2 = $m_s_util_hashing_MurmurHash3$();
|
|
59105
|
+
return this$2.productHash__s_Product__I__Z__I(this, (-889275714), false)
|
|
59106
|
+
});
|
|
59107
|
+
$c_Lio_github_edadma_rdb_EnumType.prototype.equals__O__Z = (function(x$0) {
|
|
59108
|
+
if ((this === x$0)) {
|
|
59109
|
+
return true
|
|
59110
|
+
} else if ((x$0 instanceof $c_Lio_github_edadma_rdb_EnumType)) {
|
|
59111
|
+
var x$0$2 = $as_Lio_github_edadma_rdb_EnumType(x$0);
|
|
59112
|
+
if ((this.Lio_github_edadma_rdb_EnumType__f_enumName === x$0$2.Lio_github_edadma_rdb_EnumType__f_enumName)) {
|
|
59113
|
+
var x = this.Lio_github_edadma_rdb_EnumType__f_labels;
|
|
59114
|
+
var x$2 = x$0$2.Lio_github_edadma_rdb_EnumType__f_labels;
|
|
59115
|
+
return ((x === null) ? (x$2 === null) : x.equals__O__Z(x$2))
|
|
59116
|
+
} else {
|
|
59117
|
+
return false
|
|
59118
|
+
}
|
|
59119
|
+
} else {
|
|
59120
|
+
return false
|
|
59121
|
+
}
|
|
59122
|
+
});
|
|
59123
|
+
$c_Lio_github_edadma_rdb_EnumType.prototype.toString__T = (function() {
|
|
59124
|
+
return $m_sr_ScalaRunTime$()._toString__s_Product__T(this)
|
|
59125
|
+
});
|
|
59126
|
+
$c_Lio_github_edadma_rdb_EnumType.prototype.productArity__I = (function() {
|
|
59127
|
+
return 2
|
|
59128
|
+
});
|
|
59129
|
+
$c_Lio_github_edadma_rdb_EnumType.prototype.productPrefix__T = (function() {
|
|
59130
|
+
return "EnumType"
|
|
59131
|
+
});
|
|
59132
|
+
$c_Lio_github_edadma_rdb_EnumType.prototype.productElement__I__O = (function(n) {
|
|
59133
|
+
if ((n === 0)) {
|
|
59134
|
+
return this.Lio_github_edadma_rdb_EnumType__f_enumName
|
|
59135
|
+
};
|
|
59136
|
+
if ((n === 1)) {
|
|
59137
|
+
return this.Lio_github_edadma_rdb_EnumType__f_labels
|
|
59138
|
+
};
|
|
59139
|
+
throw $ct_jl_IndexOutOfBoundsException__T__(new $c_jl_IndexOutOfBoundsException(), ("" + n))
|
|
59140
|
+
});
|
|
59141
|
+
$c_Lio_github_edadma_rdb_EnumType.prototype.convert__Lio_github_edadma_rdb_Value__Lio_github_edadma_rdb_Value = (function(v) {
|
|
59142
|
+
if ((v instanceof $c_Lio_github_edadma_rdb_TextValue)) {
|
|
59143
|
+
var x$1 = $as_Lio_github_edadma_rdb_TextValue(v);
|
|
59144
|
+
var x8 = x$1.Lio_github_edadma_rdb_TextValue__f_s;
|
|
59145
|
+
var value = $uI(this.Lio_github_edadma_rdb_EnumType__f_labelsMap.getOrElse__O__F0__O(x8, new $c_sjsr_AnonFunction0(((v$2, l$2) => (() => {
|
|
59146
|
+
var msg = (("unknown label '" + l$2) + "'");
|
|
59147
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(v$2.pos__s_util_parsing_input_Position(), msg)
|
|
59148
|
+
}))(v, x8))));
|
|
59149
|
+
return new $c_Lio_github_edadma_rdb_EnumValue(value, this)
|
|
59150
|
+
} else {
|
|
59151
|
+
return $f_Lio_github_edadma_rdb_Type__convert__Lio_github_edadma_rdb_Value__Lio_github_edadma_rdb_Value(this, v)
|
|
59152
|
+
}
|
|
59153
|
+
});
|
|
59154
|
+
function $as_Lio_github_edadma_rdb_EnumType(obj) {
|
|
59155
|
+
return (((obj instanceof $c_Lio_github_edadma_rdb_EnumType) || (obj === null)) ? obj : $throwClassCastException(obj, "io.github.edadma.rdb.EnumType"))
|
|
59156
|
+
}
|
|
59157
|
+
function $isArrayOf_Lio_github_edadma_rdb_EnumType(obj, depth) {
|
|
59158
|
+
return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lio_github_edadma_rdb_EnumType)))
|
|
59159
|
+
}
|
|
59160
|
+
function $asArrayOf_Lio_github_edadma_rdb_EnumType(obj, depth) {
|
|
59161
|
+
return (($isArrayOf_Lio_github_edadma_rdb_EnumType(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lio.github.edadma.rdb.EnumType;", depth))
|
|
59162
|
+
}
|
|
59163
|
+
var $d_Lio_github_edadma_rdb_EnumType = new $TypeData().initClass({
|
|
59164
|
+
Lio_github_edadma_rdb_EnumType: 0
|
|
59165
|
+
}, false, "io.github.edadma.rdb.EnumType", {
|
|
59166
|
+
Lio_github_edadma_rdb_EnumType: 1,
|
|
59167
|
+
O: 1,
|
|
59168
|
+
Lio_github_edadma_rdb_Type: 1,
|
|
59169
|
+
s_Equals: 1,
|
|
59170
|
+
s_Product: 1,
|
|
59171
|
+
Ljava_io_Serializable: 1
|
|
59172
|
+
});
|
|
59173
|
+
$c_Lio_github_edadma_rdb_EnumType.prototype.$classData = $d_Lio_github_edadma_rdb_EnumType;
|
|
59174
|
+
/** @constructor */
|
|
58888
59175
|
function $c_Lio_github_edadma_rdb_FilterProcess(input, cond) {
|
|
58889
59176
|
this.Lio_github_edadma_rdb_FilterProcess__f_input = null;
|
|
58890
59177
|
this.Lio_github_edadma_rdb_FilterProcess__f_cond = null;
|
|
@@ -71690,6 +71977,10 @@ function $c_Lio_github_edadma_rdb_SQLParser$() {
|
|
|
71690
71977
|
this.Lio_github_edadma_rdb_SQLParser$__f_insertbitmap$1 = false;
|
|
71691
71978
|
this.Lio_github_edadma_rdb_SQLParser$__f_createTable$lzy1 = null;
|
|
71692
71979
|
this.Lio_github_edadma_rdb_SQLParser$__f_createTablebitmap$1 = false;
|
|
71980
|
+
this.Lio_github_edadma_rdb_SQLParser$__f_createEnum$lzy1 = null;
|
|
71981
|
+
this.Lio_github_edadma_rdb_SQLParser$__f_createEnumbitmap$1 = false;
|
|
71982
|
+
this.Lio_github_edadma_rdb_SQLParser$__f_createType$lzy1 = null;
|
|
71983
|
+
this.Lio_github_edadma_rdb_SQLParser$__f_createTypebitmap$1 = false;
|
|
71693
71984
|
this.Lio_github_edadma_rdb_SQLParser$__f_update$lzy1 = null;
|
|
71694
71985
|
this.Lio_github_edadma_rdb_SQLParser$__f_updatebitmap$1 = false;
|
|
71695
71986
|
this.Lio_github_edadma_rdb_SQLParser$__f_delete$lzy1 = null;
|
|
@@ -72796,6 +73087,35 @@ $c_Lio_github_edadma_rdb_SQLParser$.prototype.createTable__s_util_parsing_combin
|
|
|
72796
73087
|
};
|
|
72797
73088
|
return this.Lio_github_edadma_rdb_SQLParser$__f_createTable$lzy1
|
|
72798
73089
|
});
|
|
73090
|
+
$c_Lio_github_edadma_rdb_SQLParser$.prototype.createEnum__s_util_parsing_combinator_PackratParsers$PackratParser = (function() {
|
|
73091
|
+
if ((!this.Lio_github_edadma_rdb_SQLParser$__f_createEnumbitmap$1)) {
|
|
73092
|
+
var p$1 = new $c_sjsr_AnonFunction0(((this$1) => (() => this$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("ENUM").$tilde$greater__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2) => (() => this$2.keyword__T__s_util_parsing_combinator_Parsers$Parser("(").$tilde$greater__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$3) => (() => {
|
|
73093
|
+
var p = new $c_sjsr_AnonFunction0(((this$4) => (() => $f_s_util_parsing_combinator_syntactical_StdTokenParsers__stringLit__s_util_parsing_combinator_Parsers$Parser(this$4)))(this$3));
|
|
73094
|
+
var q = new $c_sjsr_AnonFunction0(((this$2$1) => (() => this$2$1.keyword__T__s_util_parsing_combinator_Parsers$Parser(",")))(this$3));
|
|
73095
|
+
return $f_s_util_parsing_combinator_Parsers__rep1sep__F0__F0__s_util_parsing_combinator_Parsers$Parser(this$3, p, q)
|
|
73096
|
+
}))(this$2))).$less$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2$2) => (() => this$2$2.keyword__T__s_util_parsing_combinator_Parsers$Parser(")")))(this$2)))))(this$1)))))(this));
|
|
73097
|
+
this.Lio_github_edadma_rdb_SQLParser$__f_createEnum$lzy1 = $f_s_util_parsing_combinator_PackratParsers__parser2packrat__F0__s_util_parsing_combinator_PackratParsers$PackratParser(this, p$1);
|
|
73098
|
+
this.Lio_github_edadma_rdb_SQLParser$__f_createEnumbitmap$1 = true
|
|
73099
|
+
};
|
|
73100
|
+
return this.Lio_github_edadma_rdb_SQLParser$__f_createEnum$lzy1
|
|
73101
|
+
});
|
|
73102
|
+
$c_Lio_github_edadma_rdb_SQLParser$.prototype.createType__s_util_parsing_combinator_PackratParsers$PackratParser = (function() {
|
|
73103
|
+
if ((!this.Lio_github_edadma_rdb_SQLParser$__f_createTypebitmap$1)) {
|
|
73104
|
+
var p = new $c_sjsr_AnonFunction0(((this$1) => (() => this$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("CREATE").$tilde$greater__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2) => (() => this$2.keyword__T__s_util_parsing_combinator_Parsers$Parser("TYPE")))(this$1))).$tilde$greater__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2$1) => (() => this$2$1.identifier__s_util_parsing_combinator_PackratParsers$PackratParser()))(this$1))).$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$3) => (() => this$3.keyword__T__s_util_parsing_combinator_Parsers$Parser("AS").$tilde$greater__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$4) => (() => this$4.createEnum__s_util_parsing_combinator_PackratParsers$PackratParser()))(this$3)))))(this$1))).$up$up__F1__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction1(((this$4$1) => ((x$1) => {
|
|
73105
|
+
var x$1$1 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1);
|
|
73106
|
+
if ((x$1$1 !== null)) {
|
|
73107
|
+
this$4$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
73108
|
+
var t = $as_Lio_github_edadma_rdb_Ident(x$1$1.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
73109
|
+
var ls = $as_sci_Seq(x$1$1.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
73110
|
+
return new $c_Lio_github_edadma_rdb_CreateEnumCommand(t, ls)
|
|
73111
|
+
};
|
|
73112
|
+
throw new $c_s_MatchError(x$1$1)
|
|
73113
|
+
}))(this$1)))))(this));
|
|
73114
|
+
this.Lio_github_edadma_rdb_SQLParser$__f_createType$lzy1 = $f_s_util_parsing_combinator_PackratParsers__parser2packrat__F0__s_util_parsing_combinator_PackratParsers$PackratParser(this, p);
|
|
73115
|
+
this.Lio_github_edadma_rdb_SQLParser$__f_createTypebitmap$1 = true
|
|
73116
|
+
};
|
|
73117
|
+
return this.Lio_github_edadma_rdb_SQLParser$__f_createType$lzy1
|
|
73118
|
+
});
|
|
72799
73119
|
$c_Lio_github_edadma_rdb_SQLParser$.prototype.update__s_util_parsing_combinator_PackratParsers$PackratParser = (function() {
|
|
72800
73120
|
if ((!this.Lio_github_edadma_rdb_SQLParser$__f_updatebitmap$1)) {
|
|
72801
73121
|
var p$1 = new $c_sjsr_AnonFunction0(((this$1) => (() => this$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("UPDATE").$tilde$greater__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2) => (() => this$2.identifier__s_util_parsing_combinator_PackratParsers$PackratParser()))(this$1))).$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2$1) => (() => this$2$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("SET")))(this$1))).$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$3) => (() => {
|
|
@@ -72809,14 +73129,14 @@ $c_Lio_github_edadma_rdb_SQLParser$.prototype.update__s_util_parsing_combinator_
|
|
|
72809
73129
|
var x$1$1 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1);
|
|
72810
73130
|
if ((x$1$1 !== null)) {
|
|
72811
73131
|
this$5$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
72812
|
-
var
|
|
72813
|
-
if ((
|
|
73132
|
+
var x287 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$1.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
73133
|
+
if ((x287 !== null)) {
|
|
72814
73134
|
this$5$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
72815
|
-
var
|
|
72816
|
-
if ((
|
|
73135
|
+
var x290 = $as_s_util_parsing_combinator_Parsers$$tilde(x287.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
73136
|
+
if ((x290 !== null)) {
|
|
72817
73137
|
this$5$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
72818
|
-
var t = $as_Lio_github_edadma_rdb_Ident(
|
|
72819
|
-
var ss = $as_sci_List(
|
|
73138
|
+
var t = $as_Lio_github_edadma_rdb_Ident(x290.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
73139
|
+
var ss = $as_sci_List(x287.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
72820
73140
|
var c = $as_s_Option(x$1$1.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
72821
73141
|
return new $c_Lio_github_edadma_rdb_UpdateCommand(t, ss, c)
|
|
72822
73142
|
}
|
|
@@ -72831,22 +73151,60 @@ $c_Lio_github_edadma_rdb_SQLParser$.prototype.update__s_util_parsing_combinator_
|
|
|
72831
73151
|
});
|
|
72832
73152
|
$c_Lio_github_edadma_rdb_SQLParser$.prototype.typ__s_util_parsing_combinator_PackratParsers$PackratParser = (function() {
|
|
72833
73153
|
if ((!this.Lio_github_edadma_rdb_SQLParser$__f_typbitmap$1)) {
|
|
72834
|
-
var p$1 = new $c_sjsr_AnonFunction0(((this$1) => (() => this$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("BOOLEAN").$up$up$up__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2) => (() =>
|
|
73154
|
+
var p$1 = new $c_sjsr_AnonFunction0(((this$1) => (() => this$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("BOOLEAN").$up$up$up__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2) => (() => {
|
|
73155
|
+
$m_s_package$();
|
|
73156
|
+
var value = $m_Lio_github_edadma_rdb_BooleanType$();
|
|
73157
|
+
return new $c_s_util_Left(value)
|
|
73158
|
+
}))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2$1) => (() => this$2$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("INT").$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$4) => (() => this$4.keyword__T__s_util_parsing_combinator_Parsers$Parser("INTEGER")))(this$2$1))).$up$up$up__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2$2) => (() => {
|
|
73159
|
+
$m_s_package$();
|
|
73160
|
+
var value$1 = $m_Lio_github_edadma_rdb_IntegerType$();
|
|
73161
|
+
return new $c_s_util_Left(value$1)
|
|
73162
|
+
}))(this$2$1)))))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$3$1) => (() => this$3$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("BIGINT").$up$up$up__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$6) => (() => {
|
|
73163
|
+
$m_s_package$();
|
|
73164
|
+
var value$2 = $m_Lio_github_edadma_rdb_BigintType$();
|
|
73165
|
+
return new $c_s_util_Left(value$2)
|
|
73166
|
+
}))(this$3$1)))))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$4$1) => (() => this$4$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("DOUBLE").$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$8) => (() => this$8.keyword__T__s_util_parsing_combinator_Parsers$Parser("PRECISION").$up$up__F1__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction1(((x) => new $c_s_Some(x)))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$10) => (() => {
|
|
72835
73167
|
var v = $m_s_None$();
|
|
72836
|
-
return $f_s_util_parsing_combinator_Parsers__success__O__s_util_parsing_combinator_Parsers$Parser(this$
|
|
72837
|
-
}))(this$
|
|
73168
|
+
return $f_s_util_parsing_combinator_Parsers__success__O__s_util_parsing_combinator_Parsers$Parser(this$10, v)
|
|
73169
|
+
}))(this$8)))))(this$4$1))).$up$up$up__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2$3) => (() => {
|
|
73170
|
+
$m_s_package$();
|
|
73171
|
+
var value$3 = $m_Lio_github_edadma_rdb_DoubleType$();
|
|
73172
|
+
return new $c_s_util_Left(value$3)
|
|
73173
|
+
}))(this$4$1)))))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$5$1) => (() => this$5$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("NUMERIC").$tilde$greater__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$12) => (() => this$12.keyword__T__s_util_parsing_combinator_Parsers$Parser("(").$tilde$greater__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$13) => (() => this$13.integer__s_util_parsing_combinator_PackratParsers$PackratParser()))(this$12))).$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2$4) => (() => this$2$4.keyword__T__s_util_parsing_combinator_Parsers$Parser(",").$tilde$greater__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$14) => (() => this$14.integer__s_util_parsing_combinator_PackratParsers$PackratParser()))(this$2$4)))))(this$12))).$less$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$3$2) => (() => this$3$2.keyword__T__s_util_parsing_combinator_Parsers$Parser(")")))(this$12)))))(this$5$1))).$up$up__F1__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction1(((this$2$5) => ((x$1) => {
|
|
72838
73174
|
var x$1$1 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1);
|
|
72839
73175
|
if ((x$1$1 !== null)) {
|
|
72840
73176
|
this$2$5.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
72841
73177
|
var p = $uI(x$1$1.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
72842
73178
|
var s = $uI(x$1$1.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
72843
|
-
|
|
73179
|
+
$m_s_package$();
|
|
73180
|
+
var value$4 = new $c_Lio_github_edadma_rdb_NumericType(p, s);
|
|
73181
|
+
return new $c_s_util_Left(value$4)
|
|
72844
73182
|
};
|
|
72845
73183
|
throw new $c_s_MatchError(x$1$1)
|
|
72846
|
-
}))(this$5$1)))))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$6$1) => (() => this$6$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("JSON").$up$up$up__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$
|
|
73184
|
+
}))(this$5$1)))))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$6$1) => (() => this$6$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("JSON").$up$up$up__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$18) => (() => {
|
|
73185
|
+
$m_s_package$();
|
|
73186
|
+
var value$5 = $m_Lio_github_edadma_rdb_JSONType$();
|
|
73187
|
+
return new $c_s_util_Left(value$5)
|
|
73188
|
+
}))(this$6$1)))))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$7$1) => (() => this$7$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("TIMESTAMP").$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$20) => (() => this$20.keyword__T__s_util_parsing_combinator_Parsers$Parser("WITHOUT").$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$21) => (() => this$21.keyword__T__s_util_parsing_combinator_Parsers$Parser("TIME")))(this$20))).$tilde__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2$6) => (() => this$2$6.keyword__T__s_util_parsing_combinator_Parsers$Parser("ZONE")))(this$20))).$up$up__F1__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction1(((x$2) => new $c_s_Some(x$2)))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$23) => (() => {
|
|
72847
73189
|
var v$1 = $m_s_None$();
|
|
72848
|
-
return $f_s_util_parsing_combinator_Parsers__success__O__s_util_parsing_combinator_Parsers$Parser(this$
|
|
72849
|
-
}))(this$
|
|
73190
|
+
return $f_s_util_parsing_combinator_Parsers__success__O__s_util_parsing_combinator_Parsers$Parser(this$23, v$1)
|
|
73191
|
+
}))(this$20)))))(this$7$1))).$up$up$up__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2$7) => (() => {
|
|
73192
|
+
$m_s_package$();
|
|
73193
|
+
var value$6 = $m_Lio_github_edadma_rdb_TimestampType$();
|
|
73194
|
+
return new $c_s_util_Left(value$6)
|
|
73195
|
+
}))(this$7$1)))))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$8$1) => (() => this$8$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("TEXT").$up$up$up__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$25) => (() => {
|
|
73196
|
+
$m_s_package$();
|
|
73197
|
+
var value$7 = $m_Lio_github_edadma_rdb_TextType$();
|
|
73198
|
+
return new $c_s_util_Left(value$7)
|
|
73199
|
+
}))(this$8$1)))))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$9$1) => (() => this$9$1.keyword__T__s_util_parsing_combinator_Parsers$Parser("UUID").$up$up$up__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$27) => (() => {
|
|
73200
|
+
$m_s_package$();
|
|
73201
|
+
var value$8 = $m_Lio_github_edadma_rdb_UUIDType$();
|
|
73202
|
+
return new $c_s_util_Left(value$8)
|
|
73203
|
+
}))(this$9$1)))))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$10$1) => (() => this$10$1.identifier__s_util_parsing_combinator_PackratParsers$PackratParser().$up$up__F1__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction1(((this$29) => ((value$9) => {
|
|
73204
|
+
var value$10 = $as_Lio_github_edadma_rdb_Ident(value$9);
|
|
73205
|
+
$m_s_package$();
|
|
73206
|
+
return new $c_s_util_Right(value$10)
|
|
73207
|
+
}))(this$10$1)))))(this$1)))))(this));
|
|
72850
73208
|
this.Lio_github_edadma_rdb_SQLParser$__f_typ$lzy1 = $f_s_util_parsing_combinator_PackratParsers__parser2packrat__F0__s_util_parsing_combinator_PackratParsers$PackratParser(this, p$1);
|
|
72851
73209
|
this.Lio_github_edadma_rdb_SQLParser$__f_typbitmap$1 = true
|
|
72852
73210
|
};
|
|
@@ -72867,19 +73225,19 @@ $c_Lio_github_edadma_rdb_SQLParser$.prototype.columnDesc__s_util_parsing_combina
|
|
|
72867
73225
|
var x$1$2 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$1);
|
|
72868
73226
|
if ((x$1$2 !== null)) {
|
|
72869
73227
|
this$5$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
72870
|
-
var
|
|
72871
|
-
if ((
|
|
73228
|
+
var x305 = $as_s_util_parsing_combinator_Parsers$$tilde(x$1$2.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
73229
|
+
if ((x305 !== null)) {
|
|
72872
73230
|
this$5$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
72873
|
-
var
|
|
72874
|
-
if ((
|
|
73231
|
+
var x308 = $as_s_util_parsing_combinator_Parsers$$tilde(x305.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
73232
|
+
if ((x308 !== null)) {
|
|
72875
73233
|
this$5$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
72876
|
-
var
|
|
72877
|
-
if ((
|
|
73234
|
+
var x311 = $as_s_util_parsing_combinator_Parsers$$tilde(x308.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
73235
|
+
if ((x311 !== null)) {
|
|
72878
73236
|
this$5$1.$tilde__s_util_parsing_combinator_Parsers$$tilde$();
|
|
72879
|
-
var c = $as_Lio_github_edadma_rdb_Ident(
|
|
72880
|
-
var t = $
|
|
72881
|
-
var a = $as_s_Option(
|
|
72882
|
-
var n = $as_s_Option(
|
|
73237
|
+
var c = $as_Lio_github_edadma_rdb_Ident(x311.s_util_parsing_combinator_Parsers$$tilde__f__1);
|
|
73238
|
+
var t = $as_s_util_Either(x311.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
73239
|
+
var a = $as_s_Option(x308.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
73240
|
+
var n = $as_s_Option(x305.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
72883
73241
|
var p = $as_s_Option(x$1$2.s_util_parsing_combinator_Parsers$$tilde__f__2);
|
|
72884
73242
|
var auto = (!a.isEmpty__Z());
|
|
72885
73243
|
var required = (!n.isEmpty__Z());
|
|
@@ -72935,7 +73293,7 @@ $c_Lio_github_edadma_rdb_SQLParser$.prototype.command__s_util_parsing_combinator
|
|
|
72935
73293
|
var p = new $c_sjsr_AnonFunction0(((this$1) => (() => this$1.query__s_util_parsing_combinator_PackratParsers$PackratParser().$up$up__F1__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction1(((this$2) => ((query) => {
|
|
72936
73294
|
var query$1 = $as_Lio_github_edadma_rdb_Expr(query);
|
|
72937
73295
|
return new $c_Lio_github_edadma_rdb_QueryCommand(query$1)
|
|
72938
|
-
}))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2$1) => (() => this$2$1.insert__s_util_parsing_combinator_PackratParsers$PackratParser()))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$3$1) => (() => this$3$1.createTable__s_util_parsing_combinator_PackratParsers$PackratParser()))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$4) => (() => this$4.
|
|
73296
|
+
}))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$2$1) => (() => this$2$1.insert__s_util_parsing_combinator_PackratParsers$PackratParser()))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$3$1) => (() => this$3$1.createTable__s_util_parsing_combinator_PackratParsers$PackratParser()))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$4) => (() => this$4.createType__s_util_parsing_combinator_PackratParsers$PackratParser()))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$5) => (() => this$5.update__s_util_parsing_combinator_PackratParsers$PackratParser()))(this$1))).$bar__F0__s_util_parsing_combinator_Parsers$Parser(new $c_sjsr_AnonFunction0(((this$6) => (() => this$6.alterTable__s_util_parsing_combinator_PackratParsers$PackratParser()))(this$1)))))(this));
|
|
72939
73297
|
this.Lio_github_edadma_rdb_SQLParser$__f_command$lzy1 = $f_s_util_parsing_combinator_PackratParsers__parser2packrat__F0__s_util_parsing_combinator_PackratParsers$PackratParser(this, p);
|
|
72940
73298
|
this.Lio_github_edadma_rdb_SQLParser$__f_commandbitmap$1 = true
|
|
72941
73299
|
};
|
|
@@ -72958,28 +73316,28 @@ $c_Lio_github_edadma_rdb_SQLParser$.prototype.commands__s_util_parsing_combinato
|
|
|
72958
73316
|
});
|
|
72959
73317
|
$c_Lio_github_edadma_rdb_SQLParser$.prototype.parse__T__s_util_parsing_combinator_PackratParsers$PackratParser__O = (function(input, parser) {
|
|
72960
73318
|
var tokens = $ct_s_util_parsing_combinator_PackratParsers$PackratReader__s_util_parsing_combinator_PackratParsers__s_util_parsing_input_Reader__(new $c_s_util_parsing_combinator_PackratParsers$PackratReader(), this, $ct_s_util_parsing_combinator_lexical_Scanners$Scanner__s_util_parsing_combinator_lexical_Scanners__T__(new $c_s_util_parsing_combinator_lexical_Scanners$Scanner(), this.Lio_github_edadma_rdb_SQLParser$__f_lexical, input));
|
|
72961
|
-
var
|
|
72962
|
-
if (((
|
|
73319
|
+
var x324 = $f_s_util_parsing_combinator_PackratParsers__phrase__s_util_parsing_combinator_Parsers$Parser__s_util_parsing_combinator_PackratParsers$PackratParser(this, parser).apply__s_util_parsing_input_Reader__s_util_parsing_combinator_Parsers$ParseResult(tokens);
|
|
73320
|
+
if (((x324 instanceof $c_s_util_parsing_combinator_Parsers$Success) && ($as_s_util_parsing_combinator_Parsers$Success(x324).s_util_parsing_combinator_Parsers$Success__f_$outer === this))) {
|
|
72963
73321
|
this.Success__s_util_parsing_combinator_Parsers$Success$();
|
|
72964
|
-
var x$1 = $as_s_util_parsing_combinator_Parsers$Success(
|
|
72965
|
-
var
|
|
72966
|
-
return
|
|
73322
|
+
var x$1 = $as_s_util_parsing_combinator_Parsers$Success(x324);
|
|
73323
|
+
var x335 = x$1.s_util_parsing_combinator_Parsers$Success__f_result;
|
|
73324
|
+
return x335
|
|
72967
73325
|
};
|
|
72968
|
-
if (((
|
|
73326
|
+
if (((x324 instanceof $c_s_util_parsing_combinator_Parsers$Failure) && ($as_s_util_parsing_combinator_Parsers$Failure(x324).s_util_parsing_combinator_Parsers$Failure__f_$outer === this))) {
|
|
72969
73327
|
this.Failure__s_util_parsing_combinator_Parsers$Failure$();
|
|
72970
|
-
var x$1$1 = $as_s_util_parsing_combinator_Parsers$Failure(
|
|
72971
|
-
var
|
|
72972
|
-
var
|
|
72973
|
-
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(
|
|
73328
|
+
var x$1$1 = $as_s_util_parsing_combinator_Parsers$Failure(x324);
|
|
73329
|
+
var x331 = x$1$1.s_util_parsing_combinator_Parsers$Failure__f_msg;
|
|
73330
|
+
var x332 = x$1$1.s_util_parsing_combinator_Parsers$Failure__f_next;
|
|
73331
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(x332.pos__s_util_parsing_input_Position(), x331)
|
|
72974
73332
|
};
|
|
72975
|
-
if (((
|
|
73333
|
+
if (((x324 instanceof $c_s_util_parsing_combinator_Parsers$Error) && ($as_s_util_parsing_combinator_Parsers$Error(x324).s_util_parsing_combinator_Parsers$Error__f_$outer === this))) {
|
|
72976
73334
|
this.Error__s_util_parsing_combinator_Parsers$Error$();
|
|
72977
|
-
var x$1$2 = $as_s_util_parsing_combinator_Parsers$Error(
|
|
72978
|
-
var
|
|
72979
|
-
var
|
|
72980
|
-
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(
|
|
73335
|
+
var x$1$2 = $as_s_util_parsing_combinator_Parsers$Error(x324);
|
|
73336
|
+
var x327 = x$1$2.s_util_parsing_combinator_Parsers$Error__f_msg;
|
|
73337
|
+
var x328 = x$1$2.s_util_parsing_combinator_Parsers$Error__f_next;
|
|
73338
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(x328.pos__s_util_parsing_input_Position(), x327)
|
|
72981
73339
|
};
|
|
72982
|
-
throw new $c_s_MatchError(
|
|
73340
|
+
throw new $c_s_MatchError(x324)
|
|
72983
73341
|
});
|
|
72984
73342
|
$c_Lio_github_edadma_rdb_SQLParser$.prototype.lexical__s_util_parsing_combinator_lexical_StdLexical = (function() {
|
|
72985
73343
|
return this.Lio_github_edadma_rdb_SQLParser$__f_lexical
|
|
@@ -79052,7 +79410,7 @@ function $c_Lio_github_edadma_rdb_SQLParser$SQLLexer() {
|
|
|
79052
79410
|
var xs = $m_s_package$().s_package$__f_Seq.apply__sci_Seq__sc_SeqOps($m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)(["+", "-", "*", "/", "%", "(", ")", ".", "||", "<=", ">=", "<", ">", "=", "!=", ",", "&", "|", "^", "@", "{", "}", ":", "[", "]", ";"])));
|
|
79053
79411
|
this$1.addAll__sc_IterableOnce__scm_HashSet(xs);
|
|
79054
79412
|
var this$2 = this.s_util_parsing_combinator_lexical_StdLexical__f_reserved;
|
|
79055
|
-
var xs$1 = $m_s_package$().s_package$__f_Seq.apply__sci_Seq__sc_SeqOps($m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)(["ADD", "ALL", "ALTER", "AND", "ANY", "AS", "ASC", "AUTO", "BETWEEN", "BIGINT", "BOOLEAN", "BY", "CASE", "CHECK", "COLUMN", "CONSTRAINT", "CREATE", "CURRENT_TIMESTAMP", "DROP", "DATABASE", "DEFAULT", "DELETE", "DESC", "DISTINCT", "DOUBLE", "ELSE", "END", "EXEC", "EXISTS", "FALSE", "FIRST", "FLOAT", "FOREIGN", "FROM", "GROUP", "HAVING", "ILIKE", "IN", "INDEX", "INNER", "INSERT", "INT", "INTO", "INTEGER", "IS", "JOIN", "JSON", "KEY", "LAST", "LEFT", "LIKE", "LIMIT", "NOT", "NULL", "NULLS", "NUMERIC", "OFFSET", "ON", "OR", "ORDER", "PRECISION", "PRIMARY", "PROCEDURE", "REFERENCES", "RETURNING", "SELECT", "SET", "SOME", "TABLE", "TEXT", "TIME", "TIMESTAMP", "THEN", "TRUE", "UPDATE", "UNION", "UNIQUE", "UUID", "VALUES", "WHEN", "WHERE", "WITHOUT", "ZONE"])));
|
|
79413
|
+
var xs$1 = $m_s_package$().s_package$__f_Seq.apply__sci_Seq__sc_SeqOps($m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)(["ADD", "ALL", "ALTER", "AND", "ANY", "AS", "ASC", "AUTO", "BETWEEN", "BIGINT", "BOOLEAN", "BY", "CASE", "CHECK", "COLUMN", "CONSTRAINT", "CREATE", "CURRENT_TIMESTAMP", "DROP", "DATABASE", "DEFAULT", "DELETE", "DESC", "DISTINCT", "DOUBLE", "ELSE", "END", "ENUM", "EXEC", "EXISTS", "FALSE", "FIRST", "FLOAT", "FOREIGN", "FROM", "GROUP", "HAVING", "ILIKE", "IN", "INDEX", "INNER", "INSERT", "INT", "INTO", "INTEGER", "IS", "JOIN", "JSON", "KEY", "LAST", "LEFT", "LIKE", "LIMIT", "NOT", "NULL", "NULLS", "NUMERIC", "OFFSET", "ON", "OR", "ORDER", "PRECISION", "PRIMARY", "PROCEDURE", "REFERENCES", "RETURNING", "SELECT", "SET", "SOME", "TABLE", "TEXT", "TIME", "TIMESTAMP", "THEN", "TRUE", "TYPE", "UPDATE", "UNION", "UNIQUE", "UUID", "VALUES", "WHEN", "WHERE", "WITHOUT", "ZONE"])));
|
|
79056
79414
|
this$2.addAll__sc_IterableOnce__scm_HashSet(xs$1)
|
|
79057
79415
|
}
|
|
79058
79416
|
$c_Lio_github_edadma_rdb_SQLParser$SQLLexer.prototype = new $h_s_util_parsing_combinator_lexical_StdLexical();
|
|
@@ -82473,6 +82831,128 @@ function $m_Lio_github_edadma_rdb_DoubleType$() {
|
|
|
82473
82831
|
return $n_Lio_github_edadma_rdb_DoubleType$
|
|
82474
82832
|
}
|
|
82475
82833
|
/** @constructor */
|
|
82834
|
+
function $c_Lio_github_edadma_rdb_EnumValue(value, typ) {
|
|
82835
|
+
this.Lio_github_edadma_rdb_EnumValue__f_pos = null;
|
|
82836
|
+
this.Lio_github_edadma_rdb_EnumValue__f_vtyp = null;
|
|
82837
|
+
this.Lio_github_edadma_rdb_EnumValue__f_value = 0;
|
|
82838
|
+
this.Lio_github_edadma_rdb_EnumValue__f_typ = null;
|
|
82839
|
+
this.Lio_github_edadma_rdb_EnumValue__f_value = value;
|
|
82840
|
+
this.Lio_github_edadma_rdb_EnumValue__f_typ = typ;
|
|
82841
|
+
this.Lio_github_edadma_rdb_EnumValue__f_pos = $m_s_util_parsing_input_NoPosition$();
|
|
82842
|
+
this.Lio_github_edadma_rdb_EnumValue__f_vtyp = typ
|
|
82843
|
+
}
|
|
82844
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype = new $h_O();
|
|
82845
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.constructor = $c_Lio_github_edadma_rdb_EnumValue;
|
|
82846
|
+
/** @constructor */
|
|
82847
|
+
function $h_Lio_github_edadma_rdb_EnumValue() {
|
|
82848
|
+
/*<skip>*/
|
|
82849
|
+
}
|
|
82850
|
+
$h_Lio_github_edadma_rdb_EnumValue.prototype = $c_Lio_github_edadma_rdb_EnumValue.prototype;
|
|
82851
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.pos__s_util_parsing_input_Position = (function() {
|
|
82852
|
+
return this.Lio_github_edadma_rdb_EnumValue__f_pos
|
|
82853
|
+
});
|
|
82854
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.pos_$eq__s_util_parsing_input_Position__V = (function(x$1) {
|
|
82855
|
+
this.Lio_github_edadma_rdb_EnumValue__f_pos = x$1
|
|
82856
|
+
});
|
|
82857
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.compareTo__O__I = (function(that) {
|
|
82858
|
+
var that$1 = $as_Lio_github_edadma_rdb_Value(that);
|
|
82859
|
+
return $f_Lio_github_edadma_rdb_Value__compare__Lio_github_edadma_rdb_Value__I(this, that$1)
|
|
82860
|
+
});
|
|
82861
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.vtyp__Lio_github_edadma_rdb_Type = (function() {
|
|
82862
|
+
return this.Lio_github_edadma_rdb_EnumValue__f_vtyp
|
|
82863
|
+
});
|
|
82864
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.compare__Lio_github_edadma_rdb_Value__I = (function(that) {
|
|
82865
|
+
return $f_Lio_github_edadma_rdb_Value__compare__Lio_github_edadma_rdb_Value__I(this, that)
|
|
82866
|
+
});
|
|
82867
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.next__Lio_github_edadma_rdb_Value = (function() {
|
|
82868
|
+
$m_Lio_github_edadma_rdb_errors$package$().problem__s_util_parsing_input_Position__T__E(this.Lio_github_edadma_rdb_EnumValue__f_pos, "can't generate next value")
|
|
82869
|
+
});
|
|
82870
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.productIterator__sc_Iterator = (function() {
|
|
82871
|
+
return new $c_s_Product$$anon$1(this)
|
|
82872
|
+
});
|
|
82873
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.hashCode__I = (function() {
|
|
82874
|
+
var acc = (-889275714);
|
|
82875
|
+
var hash = acc;
|
|
82876
|
+
var data = $f_T__hashCode__I("EnumValue");
|
|
82877
|
+
acc = $m_sr_Statics$().mix__I__I__I(hash, data);
|
|
82878
|
+
var hash$1 = acc;
|
|
82879
|
+
var data$1 = this.Lio_github_edadma_rdb_EnumValue__f_value;
|
|
82880
|
+
acc = $m_sr_Statics$().mix__I__I__I(hash$1, data$1);
|
|
82881
|
+
var hash$2 = acc;
|
|
82882
|
+
var x = this.Lio_github_edadma_rdb_EnumValue__f_typ;
|
|
82883
|
+
var data$2 = $m_sr_Statics$().anyHash__O__I(x);
|
|
82884
|
+
acc = $m_sr_Statics$().mix__I__I__I(hash$2, data$2);
|
|
82885
|
+
var hash$3 = acc;
|
|
82886
|
+
return $m_sr_Statics$().finalizeHash__I__I__I(hash$3, 2)
|
|
82887
|
+
});
|
|
82888
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.equals__O__Z = (function(x$0) {
|
|
82889
|
+
if ((this === x$0)) {
|
|
82890
|
+
return true
|
|
82891
|
+
} else if ((x$0 instanceof $c_Lio_github_edadma_rdb_EnumValue)) {
|
|
82892
|
+
var x$0$2 = $as_Lio_github_edadma_rdb_EnumValue(x$0);
|
|
82893
|
+
if ((this.Lio_github_edadma_rdb_EnumValue__f_value === x$0$2.Lio_github_edadma_rdb_EnumValue__f_value)) {
|
|
82894
|
+
var x = this.Lio_github_edadma_rdb_EnumValue__f_typ;
|
|
82895
|
+
var x$2 = x$0$2.Lio_github_edadma_rdb_EnumValue__f_typ;
|
|
82896
|
+
return ((x === null) ? (x$2 === null) : x.equals__O__Z(x$2))
|
|
82897
|
+
} else {
|
|
82898
|
+
return false
|
|
82899
|
+
}
|
|
82900
|
+
} else {
|
|
82901
|
+
return false
|
|
82902
|
+
}
|
|
82903
|
+
});
|
|
82904
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.toString__T = (function() {
|
|
82905
|
+
return $m_sr_ScalaRunTime$()._toString__s_Product__T(this)
|
|
82906
|
+
});
|
|
82907
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.productArity__I = (function() {
|
|
82908
|
+
return 2
|
|
82909
|
+
});
|
|
82910
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.productPrefix__T = (function() {
|
|
82911
|
+
return "EnumValue"
|
|
82912
|
+
});
|
|
82913
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.productElement__I__O = (function(n) {
|
|
82914
|
+
if ((n === 0)) {
|
|
82915
|
+
return this.Lio_github_edadma_rdb_EnumValue__f_value
|
|
82916
|
+
};
|
|
82917
|
+
if ((n === 1)) {
|
|
82918
|
+
return this.Lio_github_edadma_rdb_EnumValue__f_typ
|
|
82919
|
+
};
|
|
82920
|
+
throw $ct_jl_IndexOutOfBoundsException__T__(new $c_jl_IndexOutOfBoundsException(), ("" + n))
|
|
82921
|
+
});
|
|
82922
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.render__T = (function() {
|
|
82923
|
+
return (("'" + this.string__T()) + "'")
|
|
82924
|
+
});
|
|
82925
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.string__T = (function() {
|
|
82926
|
+
return $as_T(this.Lio_github_edadma_rdb_EnumValue__f_typ.Lio_github_edadma_rdb_EnumType__f_labels.apply__I__O(this.Lio_github_edadma_rdb_EnumValue__f_value))
|
|
82927
|
+
});
|
|
82928
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.compare__O__I = (function(that) {
|
|
82929
|
+
var that$1 = $as_Lio_github_edadma_rdb_Value(that);
|
|
82930
|
+
return $f_Lio_github_edadma_rdb_Value__compare__Lio_github_edadma_rdb_Value__I(this, that$1)
|
|
82931
|
+
});
|
|
82932
|
+
function $as_Lio_github_edadma_rdb_EnumValue(obj) {
|
|
82933
|
+
return (((obj instanceof $c_Lio_github_edadma_rdb_EnumValue) || (obj === null)) ? obj : $throwClassCastException(obj, "io.github.edadma.rdb.EnumValue"))
|
|
82934
|
+
}
|
|
82935
|
+
function $isArrayOf_Lio_github_edadma_rdb_EnumValue(obj, depth) {
|
|
82936
|
+
return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lio_github_edadma_rdb_EnumValue)))
|
|
82937
|
+
}
|
|
82938
|
+
function $asArrayOf_Lio_github_edadma_rdb_EnumValue(obj, depth) {
|
|
82939
|
+
return (($isArrayOf_Lio_github_edadma_rdb_EnumValue(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lio.github.edadma.rdb.EnumValue;", depth))
|
|
82940
|
+
}
|
|
82941
|
+
var $d_Lio_github_edadma_rdb_EnumValue = new $TypeData().initClass({
|
|
82942
|
+
Lio_github_edadma_rdb_EnumValue: 0
|
|
82943
|
+
}, false, "io.github.edadma.rdb.EnumValue", {
|
|
82944
|
+
Lio_github_edadma_rdb_EnumValue: 1,
|
|
82945
|
+
O: 1,
|
|
82946
|
+
s_util_parsing_input_Positional: 1,
|
|
82947
|
+
jl_Comparable: 1,
|
|
82948
|
+
s_math_Ordered: 1,
|
|
82949
|
+
Lio_github_edadma_rdb_Value: 1,
|
|
82950
|
+
s_Equals: 1,
|
|
82951
|
+
s_Product: 1,
|
|
82952
|
+
Ljava_io_Serializable: 1
|
|
82953
|
+
});
|
|
82954
|
+
$c_Lio_github_edadma_rdb_EnumValue.prototype.$classData = $d_Lio_github_edadma_rdb_EnumValue;
|
|
82955
|
+
/** @constructor */
|
|
82476
82956
|
function $c_Lio_github_edadma_rdb_IntegerType$() {
|
|
82477
82957
|
this.Lio_github_edadma_rdb_IntegerType$__f_name = null;
|
|
82478
82958
|
this.Lio_github_edadma_rdb_IntegerType$__f_name = "integer"
|