You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).select().where(predicate asPredicateBuilder<Entity<*>, Entity<*>, *>).resultList as List<T>
589
+
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).select().where(predicate asPredicateBuilder<Entity<*>, *, *>).resultList as List<T>
594
590
else
595
-
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).select().where(predicate asPredicateBuilder<Projection<*>, Projection<*>, *>).resultList as List<T>
591
+
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).select().where(predicate asPredicateBuilder<Projection<*>, *, *>).resultList as List<T>
596
592
597
593
/**
598
594
* Creates a query builder to select records of type [T].
@@ -618,11 +614,11 @@ inline fun <reified T : Data> RepositoryLookup.findAllRef(
618
614
* @return A [QueryBuilder] for selecting records of type [T].
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).selectRef().where(predicate asPredicateBuilder<Entity<*>, Entity<*>, *>).resultList as List<Ref<T>>
619
+
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).selectRef().where(predicate asPredicateBuilder<Entity<*>, *, *>).resultList as List<Ref<T>>
624
620
else
625
-
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).selectRef().where(predicate asPredicateBuilder<Projection<*>, Projection<*>, *>).resultList as List<Ref<T>>
621
+
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).selectRef().where(predicate asPredicateBuilder<Projection<*>, *, *>).resultList as List<Ref<T>>
626
622
627
623
/**
628
624
* Creates a query builder to select records of type [T].
@@ -648,11 +644,11 @@ inline fun <reified T : Data> RepositoryLookup.find(
648
644
* @return A [QueryBuilder] for selecting records of type [T].
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).select().where(predicate asPredicateBuilder<Entity<*>, Entity<*>, *>).optionalResult as T?
649
+
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).select().where(predicate asPredicateBuilder<Entity<*>, *, *>).optionalResult as T?
654
650
else
655
-
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).select().where(predicate asPredicateBuilder<Projection<*>, Projection<*>, *>).optionalResult as T?
651
+
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).select().where(predicate asPredicateBuilder<Projection<*>, *, *>).optionalResult as T?
656
652
657
653
/**
658
654
* Creates a query builder to select records of type [T].
@@ -678,11 +674,11 @@ inline fun <reified T : Data> RepositoryLookup.findRef(
678
674
* @return A [QueryBuilder] for selecting records of type [T].
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).select().where(predicate asPredicateBuilder<Entity<*>, Entity<*>, *>).singleResult as T
709
+
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).select().where(predicate asPredicateBuilder<Entity<*>, *, *>).singleResult as T
714
710
else
715
-
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).select().where(predicate asPredicateBuilder<Projection<*>, Projection<*>, *>).singleResult as T
711
+
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).select().where(predicate asPredicateBuilder<Projection<*>, *, *>).singleResult as T
716
712
717
713
/**
718
714
* Creates a query builder to select records of type [T].
@@ -738,11 +734,11 @@ inline fun <reified T : Data> RepositoryLookup.getRef(
738
734
* @return A [QueryBuilder] for selecting records of type [T].
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).selectRef().where(predicate asPredicateBuilder<Entity<*>, Ref<Entity<*>>, *>).singleResult as Ref<T>
739
+
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).selectRef().where(predicate asPredicateBuilder<Entity<*>, *, *>).singleResult as Ref<T>
744
740
else
745
-
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).selectRef().where(predicate asPredicateBuilder<Projection<*>, Ref<Projection<*>>, *>).singleResult as Ref<T>
741
+
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).selectRef().where(predicate asPredicateBuilder<Projection<*>, *, *>).singleResult as Ref<T>
746
742
747
743
/**
748
744
* Creates a query builder to select records of type [T].
@@ -768,11 +764,11 @@ inline fun <reified T : Data> RepositoryLookup.select(
768
764
* @return A [QueryBuilder] for selecting records of type [T].
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).select().where(predicate asPredicateBuilder<Entity<*>, Entity<*>, *>).resultFlow as Flow<T>
769
+
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).select().where(predicate asPredicateBuilder<Entity<*>, *, *>).resultFlow as Flow<T>
774
770
else
775
-
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).select().where(predicate asPredicateBuilder<Projection<*>, Projection<*>, *>).resultFlow as Flow<T>
771
+
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).select().where(predicate asPredicateBuilder<Projection<*>, *, *>).resultFlow as Flow<T>
776
772
777
773
/**
778
774
* Creates a query builder to select records of type [T].
@@ -798,11 +794,11 @@ inline fun <reified T : Data> RepositoryLookup.selectRef(
798
794
* @return A [QueryBuilder] for selecting records of type [T].
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).selectRef().where(predicate asPredicateBuilder<Entity<*>, Ref<Entity<*>>, *>).resultFlow as Flow<Ref<T>>
799
+
(entity(T::classasKClass<Entity<Any>>) as EntityRepository<Entity<*>, *>).selectRef().where(predicate asPredicateBuilder<Entity<*>, *, *>).resultFlow as Flow<Ref<T>>
804
800
else
805
-
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).selectRef().where(predicate asPredicateBuilder<Projection<*>, Ref<Projection<*>>, *>).resultFlow as Flow<Ref<T>>
801
+
(projection(T::classasKClass<Projection<Any>>) as ProjectionRepository<Projection<*>, *>).selectRef().where(predicate asPredicateBuilder<Projection<*>, *, *>).resultFlow as Flow<Ref<T>>
806
802
807
803
/**
808
804
* Creates a query builder to select records of type [T].
@@ -1121,7 +1117,7 @@ inline fun <reified T : Entity<*>> RepositoryLookup.deleteAll() =
1121
1117
* @param value the ID value to match against.
1122
1118
* @return the number of entities deleted (0 or 1).
0 commit comments