isTableEmpty

open fun isTableEmpty(tableName: String, schemaName: String? = defaultSchemaName): Boolean

Uses the longLastingConnection property for the connection.

Return

true if the table contains no records (rows)

Parameters

schemaName

the schema containing the table

tableName

the name of the table within the schema