containsView

fun containsView(connection: Connection, viewName: String, schemaName: String?): Boolean

Checks if the named view is within the schema based on the connection.

The connection should be open and is not closed during this function. It is the caller's responsibility to close the connection when appropriate.

Return

true if the database contains the named view

Parameters

connection

A valid and open connection to a database.

viewName

the unqualified view name to find as a string