https://kotlinlang.org logo
#exposed
Title
# exposed
b

Berkay Özkan

11/02/2023, 7:22 AM
Hi, how can i use
inList
with subquery,
Copy code
val universityIdsSubQuery = Users.slice(Users.univercityId).select { ... }
Universities.select { ... }.andWhere(Universities.id inList universityIdsSubQuery)
tried something like this but inList expects iterable
m

Martin Thörne

11/02/2023, 11:03 AM
Maybe try out inSubQuery as inList requires actual values inputed
b

Berkay Özkan

11/02/2023, 11:05 AM
thank you 🙏
2 Views