I have such a table.
object AsdTable : IntIdTable("asd") {
val created_date = timestamp("created_date")
val code = varchar("code", 64)
}
And I'd like to build sql insert statement like INSERT INTO asd(created_date, code) VALUES(NOW(), ??)
Kotlin code is
transaction {
AsdEntity.new {
createdDate = ?
code = "oook"
}
}
How this can be achieved?