executeCommand

fun executeCommand(connection: Connection, command: String): Boolean

Executes the SQL provided in the string. Squelches exceptions The string must not have ";" semicolon at the end. The caller is responsible for closing the connection

Return

true if the command executed without an exception

Parameters

connection

a connection for preparing the statement

command

the command