Mehedi Hassan Piash | Senior Software Engineer | Android | iOS | KMP | Ktor | Jetpack Compose | React-Native.

September 03, 2022

Exposed BaseTable for generating createdAt and updatedAt in Ktor part-4

September 03, 2022 Posted by Piash , No comments
 ktor BaseTable in terms of IntIdTableimport org.jetbrains.exposed.dao.*import org.jetbrains.exposed.sql.ReferenceOptionimport org.joda.time.DateTimeimport org.joda.time.DateTimeZonefun currentUtc(): DateTime = DateTime.now(DateTimeZone.UTC)abstract class BaseIntIdTable(name: String) : IntIdTable(name)...