We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8c4153 commit 807dfa6Copy full SHA for 807dfa6
1 file changed
src/main/kotlin/co/statu/rule/database/Dao.kt
@@ -32,7 +32,7 @@ abstract class Dao<T : DBEntity>(private val entityClass: KClass<T>) {
32
.map { it.name!! }
33
}
34
35
- fun List<String>.toTableQuery() = this.joinToString(", ") { "`$it`" }
+ fun List<String>.toTableQuery(prefix: String = "") = this.joinToString(", ") { "$prefix`$it`" }
36
37
abstract suspend fun init(jdbcPool: JDBCPool, plugin: ParsekPlugin)
38
0 commit comments