validateStatementKind

fun validateStatementKind(fn: String, stmt: Statement, expected: SqlValidator.StatementKind)(source)

Validates that the statement kind matches the one implied by the method prefix (e.g. find* must be a SELECT, delete* a DELETE, execute* a write).