https://kotlinlang.org logo
#ktor
Title
# ktor
j

Júlio Santos

09/30/2020, 6:03 PM
Speak up, guys! I'm putting together a clause where exposed this way 
Employee.select { Employee.id = id and (Employee.name = name)}
 is that correct?
j

Joost Klitsie

10/01/2020, 6:54 AM
I think you should use eq:
Copy code
Employee.select { 
    Employee.id eq id and (Employee.name eq name)
}
2 Views