SQLUtils

object SQLUtils

Utility class to handle SQL operations.

Functions

Link copied to clipboard
fun mySQLConnection(host: String, port: String, database: String, username: String, password: String): Connection

Connect to a MySQL database.

Link copied to clipboard
fun prepareStatement(connection: Connection, sqlStatement: String, vararg params: Any): PreparedStatement

Prepare a statement with parameters.