columnIndexName function

String columnIndexName(
  1. String table,
  2. String column
)

The name of the index of the column column of the table table, which is declared with a standard index, as PostgreSQL names one, <table>_<column>_idx, quoted.

Implementation

String columnIndexName(String table, String column) => sql.quotePostgresPart(
  '${sql.unqualifiedPostgresName(table)}_'
  '${sql.unquoteIdentifier(column, '"')}_idx',
);