DatabaseDialectMetadata

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Returns a list with the names of all the defined tables in the current schema.

Functions

Link copied to clipboard

Returns a list with the names of all the defined tables in the current database schema. The names will be returned with schema prefixes if the database supports it.

Link copied to clipboard

Returns a list with the names of all the tables in all database schemas. The names will be returned with schema prefixes, if the database supports it, and non-user defined tables, like system information table names, will be included.

Link copied to clipboard
fun catalog(transaction: JdbcTransaction): String

Returns the catalog name of the connection of the specified transaction.

Link copied to clipboard

Returns a map with the foreign key constraints of all the defined columns sets in each of the specified tables.

Link copied to clipboard

Returns a map with all the defined check constraints in each of the specified tables.

Link copied to clipboard
open fun existingIndices(vararg tables: Table): Map<Table, List<Index>>

Returns a map with all the defined indices in each of the specified tables.

Link copied to clipboard

Returns a map with the primary key metadata in each of the specified tables.

Link copied to clipboard
fun existingSequences(vararg tables: Table): Map<Table, List<Sequence>>

Returns a map with all the defined sequences that hold a relation to the specified tables in the database.

Link copied to clipboard

Returns the name of the current database.

Link copied to clipboard

Clears any cached values.

Link copied to clipboard

Clears any cached values including schema names.

Link copied to clipboard

Checks if the specified schema exists.

Link copied to clipboard

Returns whether the specified sequence exists.

Link copied to clipboard

Returns a list of the names of all sequences in the database.

Link copied to clipboard

Returns true if the database supports the LIMIT clause with update and delete statements.

Link copied to clipboard
fun tableColumns(vararg tables: Table): Map<Table, List<ColumnMetadata>>

Returns a map with the column metadata of all the defined columns in each of the specified tables.

Link copied to clipboard

Checks if the specified table exists in the database.