exists

fun exists(query: AbstractQuery<*>): Exists

Returns an SQL operator that checks if query returns at least one row.


Returns whether this table exists in the database.

Samples

org.jetbrains.exposed.sql.tests.shared.DDLTests.tableExists02