Enrico Saggiorato
03/04/2022, 2:46 PMclass Users : IntIdTable() {
val username: Column<String> = varchar("username", 30)
val email: Column<String> = varchar("email", 255)
val password: Column<String> = varchar("password", 40)
}
now, if I try to invoke the functions of the Users class, Intellij gives no hints and screams about errors, for example I can't use Users.insertAndGetId
as stated in the docs. Am I missing something?hfhbd
03/04/2022, 7:46 PMUsers
should be an object
Enrico Saggiorato
03/05/2022, 9:52 AM