add sendQuery(vararg)

This commit is contained in:
2019-08-24 23:42:08 +02:00
parent 2922c9309c
commit 65d8e00902

View File

@@ -51,4 +51,6 @@ interface EmbedExecutable {
fun exec(values: Map<String, Any?>): QueryResult
fun sendQuery(values: List<Any?> = emptyList()): Int
fun sendQuery(values: Map<String, Any?>): Int
fun sendQuery(vararg values: Pair<String, Any?>): Int =
sendQuery(values.toMap())
}