Add documentation on methods

This commit is contained in:
2021-07-17 23:42:55 +02:00
parent 71742c0c4f
commit 35d43abc4b
5 changed files with 43 additions and 2 deletions

View File

@@ -73,7 +73,13 @@ class Query(override val name: String, private val sql: String, override val con
override fun exec(values: Map<String, Any?>): QueryResult = connection.exec(sql, values)
/**
* Warning: this method not use prepared statement
*/
override fun sendQuery(values: List<Any?>): Int = connection.sendQuery(sql, values)
/**
* Warning: this method not use prepared statement
*/
override fun sendQuery(values: Map<String, Any?>): Int = connection.sendQuery(sql, values)
}