createSql method

String createSql(
  1. MoorOptions options
)

The CREATE INDEX statement creating this index.

Unlike createStmt, this can be formatted to exclude comments and unnecessary whitespace depending on the options.

Implementation

String createSql(MoorOptions options) {
  return declaration.formatSqlIfAvailable(options) ?? createStmt;
}