Indexes
final class Indexes (View source)
Methods
Message|null
getError()
No description
string
getSqlQueryForIndexCreateOrEdit(string|null $oldIndexName, Index $index, string $dbName, string $tableName)
Function to get the sql query for index creation or edit
string
executeAddIndexSql(DatabaseName $db, string $sql)
No description
bool
hasPrimaryKey(DatabaseName $db, TableName $table)
No description
Details
__construct(DatabaseInterface $dbi)
No description
Message|null
getError()
No description
string
getSqlQueryForIndexCreateOrEdit(string|null $oldIndexName, Index $index, string $dbName, string $tableName)
Function to get the sql query for index creation or edit
string
getSqlQueryForRename(string $oldIndexName, Index $index, string $db, string $table)
No description
Message
executeAddIndexSql(DatabaseName $db, string $sql)
No description
bool
hasPrimaryKey(DatabaseName $db, TableName $table)
No description