@vinctus/oql 1.3.0-alpha.3 → 1.3.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/main.js +104 -155
  2. package/main.js.map +3 -3
  3. package/package.json +1 -1
package/main.js CHANGED
@@ -5242,30 +5242,47 @@ $c_Lcom_vinctus_oql_Mutation.prototype.bulkUpdate__sci_List__s_concurrent_Future
5242
5242
  return ((k$3 + " = __data__.") + k$3);
5243
5243
  })))));
5244
5244
  command.append__T__scm_StringBuilder(((" SET " + $f_sc_IterableOnceOps__mkString__T__T__T__T(this$15, "", ", ", "")) + "\n"));
5245
- var this$21 = $n(updates);
5245
+ var this$22 = $n(updates);
5246
5246
  var f = ((x$1$3) => {
5247
5247
  var x$1$4 = $as_T2(x$1$3);
5248
5248
  if ((x$1$4 !== null)) {
5249
5249
  var id = $n(x$1$4)._1__O();
5250
5250
  var update = $as_sc_Map($n(x$1$4)._2__O());
5251
- var $x_6 = $n(this.Lcom_vinctus_oql_Mutation__f_oql);
5252
- var this$17 = $n($n($as_Lcom_vinctus_oql_Attribute($n($n(this.Lcom_vinctus_oql_Mutation__f_entity).pk__s_Option()).get__O())).Lcom_vinctus_oql_Attribute__f_typ);
5253
- var value = $as_Lcom_vinctus_oql_Datatype(this$17);
5254
- var $x_5 = $x_6.render__O__s_Option__T(id, new $c_s_Some(value));
5255
- var this$19 = $n(update);
5256
- var k$4 = new $c_sr_AbstractFunction1_$$Lambda$70e1780b84463d18653aacefee3ab989ac625f28(((x$2) => $n(this.Lcom_vinctus_oql_Mutation__f_oql).render__O__s_Option__T(x$2, $n(this.Lcom_vinctus_oql_Mutation__f_oql).render$default$2__s_Option())));
5257
- var this$20 = $n($as_sc_IterableOnceOps($n(keys).map__F1__O($f_s_PartialFunction__andThen__F1__s_PartialFunction(this$19, k$4))));
5258
- return (((("(" + $x_5) + ", ") + $f_sc_IterableOnceOps__mkString__T__T__T__T(this$20, "", ", ", "")) + ")");
5251
+ var values = $as_sc_Iterable($n(keys).map__F1__O(new $c_sr_AbstractFunction1_$$Lambda$70e1780b84463d18653aacefee3ab989ac625f28(((k$4) => {
5252
+ var k$5 = $as_T(k$4);
5253
+ var typ = $n($as_Lcom_vinctus_oql_Attribute($n(attrsNoPK).apply__O__O(k$5))).Lcom_vinctus_oql_Attribute__f_typ;
5254
+ var $x_7 = $n(this.Lcom_vinctus_oql_Mutation__f_oql);
5255
+ var $x_6 = $n(update).apply__O__O(k$5);
5256
+ var x$2 = $m_Lcom_vinctus_oql_JSONType$();
5257
+ if (((typ !== null) && $n(typ).equals__O__Z(x$2))) {
5258
+ var cond = true;
5259
+ } else {
5260
+ var cond = $n(typ).isArrayType__Z();
5261
+ }
5262
+ if (cond) {
5263
+ var this$18 = $n(typ);
5264
+ var $x_5 = new $c_s_Some($as_Lcom_vinctus_oql_Datatype(this$18));
5265
+ } else {
5266
+ var $x_5 = $m_s_None$();
5267
+ }
5268
+ return $x_7.render__O__s_Option__T($x_6, $x_5);
5269
+ }))));
5270
+ var $x_9 = $n(this.Lcom_vinctus_oql_Mutation__f_oql);
5271
+ var this$19 = $n($n($as_Lcom_vinctus_oql_Attribute($n($n(this.Lcom_vinctus_oql_Mutation__f_entity).pk__s_Option()).get__O())).Lcom_vinctus_oql_Attribute__f_typ);
5272
+ var value = $as_Lcom_vinctus_oql_Datatype(this$19);
5273
+ var $x_8 = $x_9.render__O__s_Option__T(id, new $c_s_Some(value));
5274
+ var this$21 = $n(values);
5275
+ return (((("(" + $x_8) + ", ") + $f_sc_IterableOnceOps__mkString__T__T__T__T(this$21, "", ", ", "")) + ")");
5259
5276
  }
5260
5277
  throw new $c_s_MatchError(x$1$4);
5261
5278
  });
5262
- if ((this$21 === $m_sci_Nil$())) {
5263
- var this$22 = $m_sci_Nil$();
5279
+ if ((this$22 === $m_sci_Nil$())) {
5280
+ var this$23 = $m_sci_Nil$();
5264
5281
  } else {
5265
- var x0$3 = this$21.head__O();
5282
+ var x0$3 = this$22.head__O();
5266
5283
  var h = new $c_sci_$colon$colon(f(x0$3), $m_sci_Nil$());
5267
5284
  var t = h;
5268
- var rest = $as_sci_List(this$21.tail__O());
5285
+ var rest = $as_sci_List(this$22.tail__O());
5269
5286
  while ((rest !== $m_sci_Nil$())) {
5270
5287
  var x0$4 = $n(rest).head__O();
5271
5288
  var nx = new $c_sci_$colon$colon(f(x0$4), $m_sci_Nil$());
@@ -5273,16 +5290,16 @@ $c_Lcom_vinctus_oql_Mutation.prototype.bulkUpdate__sci_List__s_concurrent_Future
5273
5290
  t = nx;
5274
5291
  rest = $as_sci_List($n(rest).tail__O());
5275
5292
  }
5276
- var this$22 = h;
5293
+ var this$23 = h;
5277
5294
  }
5278
- var $x_7 = $f_sc_IterableOnceOps__mkString__T__T__T__T(this$22, "", ", ", "");
5295
+ var $x_10 = $f_sc_IterableOnceOps__mkString__T__T__T__T(this$23, "", ", ", "");
5279
5296
  var $x_4 = $n($as_Lcom_vinctus_oql_Attribute($n($n(this.Lcom_vinctus_oql_Mutation__f_entity).pk__s_Option()).get__O())).Lcom_vinctus_oql_Attribute__f_column;
5280
- var this$23 = $n(columns);
5281
- command.append__T__scm_StringBuilder(((((((" FROM (VALUES " + $x_7) + ") AS __data__ (") + $x_4) + ", ") + $f_sc_IterableOnceOps__mkString__T__T__T__T(this$23, "", ", ", "")) + ")\n"));
5297
+ var this$24 = $n(columns);
5298
+ command.append__T__scm_StringBuilder(((((((" FROM (VALUES " + $x_10) + ") AS __data__ (") + $x_4) + ", ") + $f_sc_IterableOnceOps__mkString__T__T__T__T(this$24, "", ", ", "")) + ")\n"));
5282
5299
  command.append__T__scm_StringBuilder(((((((" WHERE " + $n(this.Lcom_vinctus_oql_Mutation__f_entity).Lcom_vinctus_oql_Entity__f_table) + ".") + $n($as_Lcom_vinctus_oql_Attribute($n($n(this.Lcom_vinctus_oql_Mutation__f_entity).pk__s_Option()).get__O())).Lcom_vinctus_oql_Attribute__f_column) + " = __data__.") + $n($as_Lcom_vinctus_oql_Attribute($n($n(this.Lcom_vinctus_oql_Mutation__f_entity).pk__s_Option()).get__O())).Lcom_vinctus_oql_Attribute__f_column) + "\n"));
5283
5300
  $n(this.Lcom_vinctus_oql_Mutation__f_oql).show__T__V($n(command.scm_StringBuilder__f_underlying).jl_StringBuilder__f_java$lang$StringBuilder$$content);
5284
- var this$24 = $n(this.Lcom_vinctus_oql_Mutation__f_oql);
5285
- return $n($n($n(this$24.Lcom_vinctus_oql_AbstractOQL__f_ds).connect__Lcom_vinctus_oql_OQLConnection()).command__T__s_concurrent_Future($n(command.scm_StringBuilder__f_underlying).jl_StringBuilder__f_java$lang$StringBuilder$$content)).map__F1__s_concurrent_ExecutionContext__s_concurrent_Future(new $c_sr_AbstractFunction1_$$Lambda$70e1780b84463d18653aacefee3ab989ac625f28(((_$10) => {
5301
+ var this$25 = $n(this.Lcom_vinctus_oql_Mutation__f_oql);
5302
+ return $n($n($n(this$25.Lcom_vinctus_oql_AbstractOQL__f_ds).connect__Lcom_vinctus_oql_OQLConnection()).command__T__s_concurrent_Future($n(command.scm_StringBuilder__f_underlying).jl_StringBuilder__f_java$lang$StringBuilder$$content)).map__F1__s_concurrent_ExecutionContext__s_concurrent_Future(new $c_sr_AbstractFunction1_$$Lambda$70e1780b84463d18653aacefee3ab989ac625f28(((_$10) => {
5286
5303
  $as_Lcom_vinctus_oql_OQLResultSet(_$10);
5287
5304
  })), this.Lcom_vinctus_oql_Mutation__f_ec);
5288
5305
  });
@@ -23501,9 +23518,6 @@ $c_s_PartialFunction$.prototype.constructor = $c_s_PartialFunction$;
23501
23518
  function $h_s_PartialFunction$() {
23502
23519
  }
23503
23520
  $h_s_PartialFunction$.prototype = $c_s_PartialFunction$.prototype;
23504
- $c_s_PartialFunction$.prototype.scala$PartialFunction$$fallbackOccurred__O__Z = (function(x) {
23505
- return (this.s_PartialFunction$__f_fallback_fn === x);
23506
- });
23507
23521
  var $d_s_PartialFunction$ = new $TypeData().initClass($c_s_PartialFunction$, "scala.PartialFunction$", ({
23508
23522
  s_PartialFunction$: 1
23509
23523
  }));
@@ -29314,23 +29328,27 @@ $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.render__O__s_Option__T = (
29314
29328
  if ((x12 instanceof $c_Lcom_vinctus_oql_ArrayType)) {
29315
29329
  var x$1 = $as_Lcom_vinctus_oql_ArrayType(x12);
29316
29330
  $n(x$1);
29317
- matchResult4: {
29318
- var seq$2;
29319
- if ($uZ((a instanceof Array))) {
29320
- var seq$2 = $m_sci_IndexedSeq$().from__sc_IterableOnce__sci_IndexedSeq($ct_sjs_js_WrappedArray__sjs_js_Array__(new $c_sjs_js_WrappedArray(), a));
29321
- break matchResult4;
29322
- }
29323
- if ($is_sci_Seq(a)) {
29324
- var seq = $as_sci_Seq(a);
29325
- var seq$2 = seq;
29326
- break matchResult4;
29331
+ if ((a === null)) {
29332
+ return ("NULL::" + $n(this.Lcom_vinctus_oql_AbstractOQL__f_ds).mapType__Lcom_vinctus_oql_TypeSpecifier__T($as_Lcom_vinctus_oql_TypeSpecifier($n(typ).get__O())));
29333
+ } else {
29334
+ matchResult4: {
29335
+ var seq$2;
29336
+ if ($uZ((a instanceof Array))) {
29337
+ var seq$2 = $m_sci_IndexedSeq$().from__sc_IterableOnce__sci_IndexedSeq($ct_sjs_js_WrappedArray__sjs_js_Array__(new $c_sjs_js_WrappedArray(), a));
29338
+ break matchResult4;
29339
+ }
29340
+ if ($is_sci_Seq(a)) {
29341
+ var seq = $as_sci_Seq(a);
29342
+ var seq$2 = seq;
29343
+ break matchResult4;
29344
+ }
29345
+ var $x_1 = $m_s_sys_package$();
29346
+ var this$8 = $n(a);
29347
+ $x_1.error__T__E(("Expected array but got " + $objectGetClass(this$8)));
29327
29348
  }
29328
- var $x_1 = $m_s_sys_package$();
29329
- var this$8 = $n(a);
29330
- $x_1.error__T__E(("Expected array but got " + $objectGetClass(this$8)));
29349
+ var this$10 = $n($as_sc_IterableOnceOps($n(seq$2).map__F1__O(new $c_sr_AbstractFunction1_$$Lambda$70e1780b84463d18653aacefee3ab989ac625f28(((e) => this.render__O__s_Option__T(e, $m_s_None$()))))));
29350
+ return ((("ARRAY[" + $f_sc_IterableOnceOps__mkString__T__T__T__T(this$10, "", ",", "")) + "]::") + $n(this.Lcom_vinctus_oql_AbstractOQL__f_ds).mapType__Lcom_vinctus_oql_TypeSpecifier__T($as_Lcom_vinctus_oql_TypeSpecifier($n(typ).get__O())));
29331
29351
  }
29332
- var this$10 = $n($as_sc_IterableOnceOps($n(seq$2).map__F1__O(new $c_sr_AbstractFunction1_$$Lambda$70e1780b84463d18653aacefee3ab989ac625f28(((e) => this.render__O__s_Option__T(e, $m_s_None$()))))));
29333
- return ((("ARRAY[" + $f_sc_IterableOnceOps__mkString__T__T__T__T(this$10, "", ",", "")) + "]::") + $n(this.Lcom_vinctus_oql_AbstractOQL__f_ds).mapType__Lcom_vinctus_oql_TypeSpecifier__T($as_Lcom_vinctus_oql_TypeSpecifier($n(typ).get__O())));
29334
29352
  }
29335
29353
  return $f_Lcom_vinctus_oql_SQLDataSource__typed__O__Lcom_vinctus_oql_Datatype__T($n(this.Lcom_vinctus_oql_AbstractOQL__f_ds), this.render__O__s_Option__T(a, $m_s_None$()), $as_Lcom_vinctus_oql_Datatype($n(typ).get__O()));
29336
29354
  } else if (((typeof a) === "string")) {
@@ -29360,9 +29378,15 @@ $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.render$default$2__s_Option
29360
29378
  $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.showQuery = (function() {
29361
29379
  this.showQuery__V();
29362
29380
  });
29363
- $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.raw = (function(arg, arg$2) {
29381
+ $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.count = (function(arg, ...rest) {
29364
29382
  var prep0 = $as_T(arg);
29365
- return this.raw__T__O__sjs_js_Promise(prep0, arg$2);
29383
+ var prep1 = ((rest[0] === (void 0)) ? (void 0) : rest[0]);
29384
+ var prep2 = ((rest[1] === (void 0)) ? null : rest[1]);
29385
+ var prep3 = ((rest[2] === (void 0)) ? null : rest[2]);
29386
+ return this.jsCount__T__O__O__sjs_js_Any__sjs_js_Promise(prep0, prep1, prep2, prep3);
29387
+ });
29388
+ $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.queryBuilder = (function(arg, arg$2) {
29389
+ return this.jsQueryBuilder__O__sjs_js_Any__Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG(arg, arg$2);
29366
29390
  });
29367
29391
  $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.queryMany = (function(arg, ...rest) {
29368
29392
  var prep0 = $as_T(arg);
@@ -29371,12 +29395,13 @@ $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.queryMany = (function(arg,
29371
29395
  var prep3 = ((rest[2] === (void 0)) ? null : rest[2]);
29372
29396
  return this.jsQueryMany__T__O__O__sjs_js_Any__sjs_js_Promise(prep0, prep1, prep2, prep3);
29373
29397
  });
29374
- $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.count = (function(arg, ...rest) {
29398
+ $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.entity = (function(arg) {
29375
29399
  var prep0 = $as_T(arg);
29376
- var prep1 = ((rest[0] === (void 0)) ? (void 0) : rest[0]);
29377
- var prep2 = ((rest[1] === (void 0)) ? null : rest[1]);
29378
- var prep3 = ((rest[2] === (void 0)) ? null : rest[2]);
29379
- return this.jsCount__T__O__O__sjs_js_Any__sjs_js_Promise(prep0, prep1, prep2, prep3);
29400
+ return this.entity__T__Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG(prep0);
29401
+ });
29402
+ $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.raw = (function(arg, arg$2) {
29403
+ var prep0 = $as_T(arg);
29404
+ return this.raw__T__O__sjs_js_Promise(prep0, arg$2);
29380
29405
  });
29381
29406
  $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.queryOne = (function(arg, ...rest) {
29382
29407
  var prep0 = $as_T(arg);
@@ -29385,13 +29410,6 @@ $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.queryOne = (function(arg,
29385
29410
  var prep3 = ((rest[2] === (void 0)) ? null : rest[2]);
29386
29411
  return this.jsQueryOne__T__O__O__sjs_js_Any__sjs_js_Promise(prep0, prep1, prep2, prep3);
29387
29412
  });
29388
- $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.queryBuilder = (function(arg, arg$2) {
29389
- return this.jsQueryBuilder__O__sjs_js_Any__Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fNodePG(arg, arg$2);
29390
- });
29391
- $c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS.prototype.entity = (function(arg) {
29392
- var prep0 = $as_T(arg);
29393
- return this.entity__T__Lcom_vinctus_oql_Mutation\uff3fJS\uff3fNodePG(prep0);
29394
- });
29395
29413
  var $d_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS = new $TypeData().initClass($c_Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS, "com.vinctus.oql.OQL_NodePG_JS", ({
29396
29414
  Lcom_vinctus_oql_OQL\uff3fNodePG\uff3fJS: 1,
29397
29415
  Lcom_vinctus_oql_AbstractOQL: 1
@@ -29573,23 +29591,27 @@ $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.render__O__s_Option__T = (fun
29573
29591
  if ((x12 instanceof $c_Lcom_vinctus_oql_ArrayType)) {
29574
29592
  var x$1 = $as_Lcom_vinctus_oql_ArrayType(x12);
29575
29593
  $n(x$1);
29576
- matchResult4: {
29577
- var seq$2;
29578
- if ($uZ((a instanceof Array))) {
29579
- var seq$2 = $m_sci_IndexedSeq$().from__sc_IterableOnce__sci_IndexedSeq($ct_sjs_js_WrappedArray__sjs_js_Array__(new $c_sjs_js_WrappedArray(), a));
29580
- break matchResult4;
29581
- }
29582
- if ($is_sci_Seq(a)) {
29583
- var seq = $as_sci_Seq(a);
29584
- var seq$2 = seq;
29585
- break matchResult4;
29594
+ if ((a === null)) {
29595
+ return ("NULL::" + $n(this.Lcom_vinctus_oql_AbstractOQL__f_ds).mapType__Lcom_vinctus_oql_TypeSpecifier__T($as_Lcom_vinctus_oql_TypeSpecifier($n(typ).get__O())));
29596
+ } else {
29597
+ matchResult4: {
29598
+ var seq$2;
29599
+ if ($uZ((a instanceof Array))) {
29600
+ var seq$2 = $m_sci_IndexedSeq$().from__sc_IterableOnce__sci_IndexedSeq($ct_sjs_js_WrappedArray__sjs_js_Array__(new $c_sjs_js_WrappedArray(), a));
29601
+ break matchResult4;
29602
+ }
29603
+ if ($is_sci_Seq(a)) {
29604
+ var seq = $as_sci_Seq(a);
29605
+ var seq$2 = seq;
29606
+ break matchResult4;
29607
+ }
29608
+ var $x_1 = $m_s_sys_package$();
29609
+ var this$8 = $n(a);
29610
+ $x_1.error__T__E(("Expected array but got " + $objectGetClass(this$8)));
29586
29611
  }
29587
- var $x_1 = $m_s_sys_package$();
29588
- var this$8 = $n(a);
29589
- $x_1.error__T__E(("Expected array but got " + $objectGetClass(this$8)));
29612
+ var this$10 = $n($as_sc_IterableOnceOps($n(seq$2).map__F1__O(new $c_sr_AbstractFunction1_$$Lambda$70e1780b84463d18653aacefee3ab989ac625f28(((e) => this.render__O__s_Option__T(e, $m_s_None$()))))));
29613
+ return ((("ARRAY[" + $f_sc_IterableOnceOps__mkString__T__T__T__T(this$10, "", ",", "")) + "]::") + $n(this.Lcom_vinctus_oql_AbstractOQL__f_ds).mapType__Lcom_vinctus_oql_TypeSpecifier__T($as_Lcom_vinctus_oql_TypeSpecifier($n(typ).get__O())));
29590
29614
  }
29591
- var this$10 = $n($as_sc_IterableOnceOps($n(seq$2).map__F1__O(new $c_sr_AbstractFunction1_$$Lambda$70e1780b84463d18653aacefee3ab989ac625f28(((e) => this.render__O__s_Option__T(e, $m_s_None$()))))));
29592
- return ((("ARRAY[" + $f_sc_IterableOnceOps__mkString__T__T__T__T(this$10, "", ",", "")) + "]::") + $n(this.Lcom_vinctus_oql_AbstractOQL__f_ds).mapType__Lcom_vinctus_oql_TypeSpecifier__T($as_Lcom_vinctus_oql_TypeSpecifier($n(typ).get__O())));
29593
29615
  }
29594
29616
  return $f_Lcom_vinctus_oql_SQLDataSource__typed__O__Lcom_vinctus_oql_Datatype__T($n(this.Lcom_vinctus_oql_AbstractOQL__f_ds), a, $as_Lcom_vinctus_oql_Datatype($n(typ).get__O()));
29595
29617
  } else if (((typeof a) === "string")) {
@@ -29616,12 +29638,6 @@ $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.render__O__s_Option__T = (fun
29616
29638
  $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.render$default$2__s_Option = (function() {
29617
29639
  return $m_s_None$();
29618
29640
  });
29619
- $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.queryBuilder = (function(arg, arg$2) {
29620
- return this.jsQueryBuilder__O__sjs_js_Any__Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB(arg, arg$2);
29621
- });
29622
- $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.create = (function() {
29623
- return this.jsCreate__sjs_js_Promise();
29624
- });
29625
29641
  $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.showQuery = (function() {
29626
29642
  this.showQuery__V();
29627
29643
  });
@@ -29632,12 +29648,8 @@ $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.count = (function(arg, ...res
29632
29648
  var prep3 = ((rest[2] === (void 0)) ? null : rest[2]);
29633
29649
  return this.jsCount__T__O__O__sjs_js_Any__sjs_js_Promise(prep0, prep1, prep2, prep3);
29634
29650
  });
29635
- $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.queryOne = (function(arg, ...rest) {
29636
- var prep0 = $as_T(arg);
29637
- var prep1 = ((rest[0] === (void 0)) ? (void 0) : rest[0]);
29638
- var prep2 = ((rest[1] === (void 0)) ? null : rest[1]);
29639
- var prep3 = ((rest[2] === (void 0)) ? null : rest[2]);
29640
- return this.jsQueryOne__T__O__O__sjs_js_Any__sjs_js_Promise(prep0, prep1, prep2, prep3);
29651
+ $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.queryBuilder = (function(arg, arg$2) {
29652
+ return this.jsQueryBuilder__O__sjs_js_Any__Lcom_vinctus_oql_QueryBuilder\uff3fJS\uff3fRDB(arg, arg$2);
29641
29653
  });
29642
29654
  $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.queryMany = (function(arg, ...rest) {
29643
29655
  var prep0 = $as_T(arg);
@@ -29646,10 +29658,6 @@ $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.queryMany = (function(arg, ..
29646
29658
  var prep3 = ((rest[2] === (void 0)) ? null : rest[2]);
29647
29659
  return this.jsQueryMany__T__O__O__sjs_js_Any__sjs_js_Promise(prep0, prep1, prep2, prep3);
29648
29660
  });
29649
- $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.raw = (function(arg, arg$2) {
29650
- var prep0 = $as_T(arg);
29651
- return this.raw__T__O__sjs_js_Promise(prep0, arg$2);
29652
- });
29653
29661
  $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.entity = (function(arg) {
29654
29662
  var prep0 = $as_T(arg);
29655
29663
  return this.entity__T__Lcom_vinctus_oql_Mutation\uff3fJS\uff3fRDB(prep0);
@@ -29658,6 +29666,20 @@ $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.rawMulti = (function(arg) {
29658
29666
  var prep0 = $as_T(arg);
29659
29667
  return this.rawMulti__T__sjs_js_Promise(prep0);
29660
29668
  });
29669
+ $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.raw = (function(arg, arg$2) {
29670
+ var prep0 = $as_T(arg);
29671
+ return this.raw__T__O__sjs_js_Promise(prep0, arg$2);
29672
+ });
29673
+ $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.create = (function() {
29674
+ return this.jsCreate__sjs_js_Promise();
29675
+ });
29676
+ $c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS.prototype.queryOne = (function(arg, ...rest) {
29677
+ var prep0 = $as_T(arg);
29678
+ var prep1 = ((rest[0] === (void 0)) ? (void 0) : rest[0]);
29679
+ var prep2 = ((rest[1] === (void 0)) ? null : rest[1]);
29680
+ var prep3 = ((rest[2] === (void 0)) ? null : rest[2]);
29681
+ return this.jsQueryOne__T__O__O__sjs_js_Any__sjs_js_Promise(prep0, prep1, prep2, prep3);
29682
+ });
29661
29683
  var $d_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS = new $TypeData().initClass($c_Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS, "com.vinctus.oql.OQL_RDB_JS", ({
29662
29684
  Lcom_vinctus_oql_OQL\uff3fRDB\uff3fJS: 1,
29663
29685
  Lcom_vinctus_oql_AbstractOQL: 1
@@ -37697,14 +37719,6 @@ function $m_s_Option$() {
37697
37719
  }
37698
37720
  return $n_s_Option$;
37699
37721
  }
37700
- function $f_s_PartialFunction__andThen__F1__s_PartialFunction($thiz, k) {
37701
- if ($is_s_PartialFunction(k)) {
37702
- var x2 = $as_s_PartialFunction(k);
37703
- return new $c_s_PartialFunction$Combined($thiz, x2);
37704
- } else {
37705
- return new $c_s_PartialFunction$AndThen($thiz, k);
37706
- }
37707
- }
37708
37722
  function $f_s_PartialFunction__applyOrElse__O__F1__O($thiz, x, default$1) {
37709
37723
  return ($thiz.isDefinedAt__O__Z(x) ? $thiz.apply__O__O(x) : $n(default$1).apply__O__O(x));
37710
37724
  }
@@ -58054,71 +58068,6 @@ var $d_s_PartialFunction$$anon$1 = new $TypeData().initClass($c_s_PartialFunctio
58054
58068
  Ljava_io_Serializable: 1
58055
58069
  }));
58056
58070
  /** @constructor */
58057
- function $c_s_PartialFunction$AndThen(pf, k) {
58058
- this.s_PartialFunction$AndThen__f_pf = null;
58059
- this.s_PartialFunction$AndThen__f_k = null;
58060
- this.s_PartialFunction$AndThen__f_pf = pf;
58061
- this.s_PartialFunction$AndThen__f_k = k;
58062
- }
58063
- $c_s_PartialFunction$AndThen.prototype = new $h_O();
58064
- $c_s_PartialFunction$AndThen.prototype.constructor = $c_s_PartialFunction$AndThen;
58065
- /** @constructor */
58066
- function $h_s_PartialFunction$AndThen() {
58067
- }
58068
- $h_s_PartialFunction$AndThen.prototype = $c_s_PartialFunction$AndThen.prototype;
58069
- $c_s_PartialFunction$AndThen.prototype.toString__T = (function() {
58070
- return "<function1>";
58071
- });
58072
- $c_s_PartialFunction$AndThen.prototype.isDefinedAt__O__Z = (function(x) {
58073
- return $n(this.s_PartialFunction$AndThen__f_pf).isDefinedAt__O__Z(x);
58074
- });
58075
- $c_s_PartialFunction$AndThen.prototype.apply__O__O = (function(x) {
58076
- return $n(this.s_PartialFunction$AndThen__f_k).apply__O__O($n(this.s_PartialFunction$AndThen__f_pf).apply__O__O(x));
58077
- });
58078
- $c_s_PartialFunction$AndThen.prototype.applyOrElse__O__F1__O = (function(x, default$1) {
58079
- var z = $n(this.s_PartialFunction$AndThen__f_pf).applyOrElse__O__F1__O(x, $m_s_PartialFunction$().s_PartialFunction$__f_fallback_fn);
58080
- return ((!$m_s_PartialFunction$().scala$PartialFunction$$fallbackOccurred__O__Z(z)) ? $n(this.s_PartialFunction$AndThen__f_k).apply__O__O(z) : $n(default$1).apply__O__O(x));
58081
- });
58082
- var $d_s_PartialFunction$AndThen = new $TypeData().initClass($c_s_PartialFunction$AndThen, "scala.PartialFunction$AndThen", ({
58083
- s_PartialFunction$AndThen: 1,
58084
- s_PartialFunction: 1,
58085
- F1: 1,
58086
- Ljava_io_Serializable: 1
58087
- }));
58088
- /** @constructor */
58089
- function $c_s_PartialFunction$Combined(pf, k) {
58090
- this.s_PartialFunction$Combined__f_pf = null;
58091
- this.s_PartialFunction$Combined__f_k = null;
58092
- this.s_PartialFunction$Combined__f_pf = pf;
58093
- this.s_PartialFunction$Combined__f_k = k;
58094
- }
58095
- $c_s_PartialFunction$Combined.prototype = new $h_O();
58096
- $c_s_PartialFunction$Combined.prototype.constructor = $c_s_PartialFunction$Combined;
58097
- /** @constructor */
58098
- function $h_s_PartialFunction$Combined() {
58099
- }
58100
- $h_s_PartialFunction$Combined.prototype = $c_s_PartialFunction$Combined.prototype;
58101
- $c_s_PartialFunction$Combined.prototype.toString__T = (function() {
58102
- return "<function1>";
58103
- });
58104
- $c_s_PartialFunction$Combined.prototype.isDefinedAt__O__Z = (function(x) {
58105
- var b = $n(this.s_PartialFunction$Combined__f_pf).applyOrElse__O__F1__O(x, $m_s_PartialFunction$().s_PartialFunction$__f_fallback_fn);
58106
- return ((!$m_s_PartialFunction$().scala$PartialFunction$$fallbackOccurred__O__Z(b)) && $n(this.s_PartialFunction$Combined__f_k).isDefinedAt__O__Z(b));
58107
- });
58108
- $c_s_PartialFunction$Combined.prototype.apply__O__O = (function(x) {
58109
- return $n(this.s_PartialFunction$Combined__f_k).apply__O__O($n(this.s_PartialFunction$Combined__f_pf).apply__O__O(x));
58110
- });
58111
- $c_s_PartialFunction$Combined.prototype.applyOrElse__O__F1__O = (function(x, default$1) {
58112
- var pfv = $n(this.s_PartialFunction$Combined__f_pf).applyOrElse__O__F1__O(x, $m_s_PartialFunction$().s_PartialFunction$__f_fallback_fn);
58113
- return ((!$m_s_PartialFunction$().scala$PartialFunction$$fallbackOccurred__O__Z(pfv)) ? $n(this.s_PartialFunction$Combined__f_k).applyOrElse__O__F1__O(pfv, new $c_sr_AbstractFunction1_$$Lambda$70e1780b84463d18653aacefee3ab989ac625f28(((x$1$2$2) => $n(default$1).apply__O__O(x)))) : $n(default$1).apply__O__O(x));
58114
- });
58115
- var $d_s_PartialFunction$Combined = new $TypeData().initClass($c_s_PartialFunction$Combined, "scala.PartialFunction$Combined", ({
58116
- s_PartialFunction$Combined: 1,
58117
- s_PartialFunction: 1,
58118
- F1: 1,
58119
- Ljava_io_Serializable: 1
58120
- }));
58121
- /** @constructor */
58122
58071
  function $c_sc_AbstractIterator() {
58123
58072
  }
58124
58073
  $c_sc_AbstractIterator.prototype = new $h_O();