SQLDelight generates typesafe Kotlin APIs from your SQL statements. It verifies your schema, statements, and migrations at compile-time and provides IDE features like autocomplete and refactoring which make writing and maintaining SQL simple.
Has an Intellij plugin.
link: https://cashapp.github.io/sqldelight/
same idea as scovy