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

October 23, 2021

Kotlin Exposed create an entity with reference for Ktor part-2

October 23, 2021 Posted by Piash No comments
 PostgreSql UserTableUserTable Entity for Ktorimport org.jetbrains.exposed.dao.Entityimport org.jetbrains.exposed.dao.EntityClassimport org.jetbrains.exposed.dao.id.EntityIDimport org.jetbrains.exposed.dao.id.IdTableimport org.jetbrains.exposed.sql.Columnobject UsersTable : IdTable<String>("users")...

October 20, 2021

PostgreSQL database connection in Ktor part-1

October 20, 2021 Posted by Piash , No comments
PostgreSQL database connection in Ktor.  build.gradle dependency// Exposed ORM libraryimplementation "org.jetbrains.exposed:exposed-core:0.35.1"implementation "org.jetbrains.exposed:exposed-dao:0.35.1"implementation "org.jetbrains.exposed:exposed-jdbc:0.35.1"implementation "org.postgresql:postgresql:42.2.2"implementation...