@ruiapp/rapid-core 0.8.8 → 0.8.9

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/dist/index.js CHANGED
@@ -614,7 +614,7 @@ function buildRangeFilterQuery(ctx, filter) {
614
614
  }
615
615
  function buildContainsFilterQuery(ctx, filter) {
616
616
  let command = ctx.builder.quoteColumn(ctx.model, filter.field, ctx.emitTableAlias);
617
- command += " LIKE ";
617
+ command += " ILIKE ";
618
618
  if (ctx.paramToLiteral) ;
619
619
  else {
620
620
  ctx.params.push(`%${filter.value}%`);
@@ -624,7 +624,7 @@ function buildContainsFilterQuery(ctx, filter) {
624
624
  }
625
625
  function buildNotContainsFilterQuery(ctx, filter) {
626
626
  let command = ctx.builder.quoteColumn(ctx.model, filter.field, ctx.emitTableAlias);
627
- command += " NOT LIKE ";
627
+ command += " NOT ILIKE ";
628
628
  if (ctx.paramToLiteral) ;
629
629
  else {
630
630
  ctx.params.push(`%${filter.value}%`);
@@ -634,7 +634,7 @@ function buildNotContainsFilterQuery(ctx, filter) {
634
634
  }
635
635
  function buildStartsWithFilterQuery(ctx, filter) {
636
636
  let command = ctx.builder.quoteColumn(ctx.model, filter.field, ctx.emitTableAlias);
637
- command += " LIKE ";
637
+ command += " ILIKE ";
638
638
  if (ctx.paramToLiteral) ;
639
639
  else {
640
640
  ctx.params.push(`${filter.value}%`);
@@ -644,7 +644,7 @@ function buildStartsWithFilterQuery(ctx, filter) {
644
644
  }
645
645
  function buildNotStartsWithFilterQuery(ctx, filter) {
646
646
  let command = ctx.builder.quoteColumn(ctx.model, filter.field, ctx.emitTableAlias);
647
- command += " NOT LIKE ";
647
+ command += " NOT ILIKE ";
648
648
  if (ctx.paramToLiteral) ;
649
649
  else {
650
650
  ctx.params.push(`${filter.value}%`);
@@ -654,7 +654,7 @@ function buildNotStartsWithFilterQuery(ctx, filter) {
654
654
  }
655
655
  function buildEndsWithFilterQuery(ctx, filter) {
656
656
  let command = ctx.builder.quoteColumn(ctx.model, filter.field, ctx.emitTableAlias);
657
- command += " LIKE ";
657
+ command += " ILIKE ";
658
658
  if (ctx.paramToLiteral) ;
659
659
  else {
660
660
  ctx.params.push(`%${filter.value}`);
@@ -664,7 +664,7 @@ function buildEndsWithFilterQuery(ctx, filter) {
664
664
  }
665
665
  function buildNotEndsWithFilterQuery(ctx, filter) {
666
666
  let command = ctx.builder.quoteColumn(ctx.model, filter.field, ctx.emitTableAlias);
667
- command += " NOT LIKE ";
667
+ command += " NOT ILIKE ";
668
668
  if (ctx.paramToLiteral) ;
669
669
  else {
670
670
  ctx.params.push(`%${filter.value}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruiapp/rapid-core",
3
- "version": "0.8.8",
3
+ "version": "0.8.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -516,7 +516,7 @@ function buildRangeFilterQuery(ctx: BuildQueryContext, filter: FindRowRangeFilte
516
516
  function buildContainsFilterQuery(ctx: BuildQueryContext, filter: FindRowRelationalFilterOptions) {
517
517
  let command = ctx.builder.quoteColumn(ctx.model, filter.field, ctx.emitTableAlias);
518
518
 
519
- command += " LIKE ";
519
+ command += " ILIKE ";
520
520
 
521
521
  if (ctx.paramToLiteral) {
522
522
  // TODO: implement it
@@ -531,7 +531,7 @@ function buildContainsFilterQuery(ctx: BuildQueryContext, filter: FindRowRelatio
531
531
  function buildNotContainsFilterQuery(ctx: BuildQueryContext, filter: FindRowRelationalFilterOptions) {
532
532
  let command = ctx.builder.quoteColumn(ctx.model, filter.field, ctx.emitTableAlias);
533
533
 
534
- command += " NOT LIKE ";
534
+ command += " NOT ILIKE ";
535
535
  if (ctx.paramToLiteral) {
536
536
  // TODO: implement it
537
537
  } else {
@@ -545,7 +545,7 @@ function buildNotContainsFilterQuery(ctx: BuildQueryContext, filter: FindRowRela
545
545
  function buildStartsWithFilterQuery(ctx: BuildQueryContext, filter: FindRowRelationalFilterOptions) {
546
546
  let command = ctx.builder.quoteColumn(ctx.model, filter.field, ctx.emitTableAlias);
547
547
 
548
- command += " LIKE ";
548
+ command += " ILIKE ";
549
549
 
550
550
  if (ctx.paramToLiteral) {
551
551
  // TODO: implement it
@@ -560,7 +560,7 @@ function buildStartsWithFilterQuery(ctx: BuildQueryContext, filter: FindRowRelat
560
560
  function buildNotStartsWithFilterQuery(ctx: BuildQueryContext, filter: FindRowRelationalFilterOptions) {
561
561
  let command = ctx.builder.quoteColumn(ctx.model, filter.field, ctx.emitTableAlias);
562
562
 
563
- command += " NOT LIKE ";
563
+ command += " NOT ILIKE ";
564
564
 
565
565
  if (ctx.paramToLiteral) {
566
566
  // TODO: implement it
@@ -575,7 +575,7 @@ function buildNotStartsWithFilterQuery(ctx: BuildQueryContext, filter: FindRowRe
575
575
  function buildEndsWithFilterQuery(ctx: BuildQueryContext, filter: FindRowRelationalFilterOptions) {
576
576
  let command = ctx.builder.quoteColumn(ctx.model, filter.field, ctx.emitTableAlias);
577
577
 
578
- command += " LIKE ";
578
+ command += " ILIKE ";
579
579
 
580
580
  if (ctx.paramToLiteral) {
581
581
  // TODO: implement it
@@ -590,7 +590,7 @@ function buildEndsWithFilterQuery(ctx: BuildQueryContext, filter: FindRowRelatio
590
590
  function buildNotEndsWithFilterQuery(ctx: BuildQueryContext, filter: FindRowRelationalFilterOptions) {
591
591
  let command = ctx.builder.quoteColumn(ctx.model, filter.field, ctx.emitTableAlias);
592
592
 
593
- command += " NOT LIKE ";
593
+ command += " NOT ILIKE ";
594
594
 
595
595
  if (ctx.paramToLiteral) {
596
596
  // TODO: implement it