Back to Exposed

checkExcessiveIndices

docs/api/exposed-jdbc/org.jetbrains.exposed.v1.jdbc/-schema-utils/check-excessive-indices.html

1.2.0800 B
Original Source

checkExcessiveIndices

fun checkExcessiveIndices(vararg tables: Table, withLogs: Boolean): List<Index>

Checks all tables for any that have more than one defined index and logs the findings. If found, this function also logs the SQL statements that can be used to drop these indices.

Return

List of indices that are excessive and can be dropped.

Generated by Dokka © 2026 Copyright