add sendQuery(vararg)
This commit is contained in:
@@ -51,4 +51,6 @@ interface EmbedExecutable {
|
|||||||
fun exec(values: Map<String, Any?>): QueryResult
|
fun exec(values: Map<String, Any?>): QueryResult
|
||||||
fun sendQuery(values: List<Any?> = emptyList()): Int
|
fun sendQuery(values: List<Any?> = emptyList()): Int
|
||||||
fun sendQuery(values: Map<String, Any?>): Int
|
fun sendQuery(values: Map<String, Any?>): Int
|
||||||
|
fun sendQuery(vararg values: Pair<String, Any?>): Int =
|
||||||
|
sendQuery(values.toMap())
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user