src/Db/Constraints/ConstraintFinderTrait.php
public function getTableIndexes($name, $refresh = false)
    {
        return $this->getTableMetadata($name, SchemaInterface::META_INDEXES, $refresh);
    }
public function getTableIndexes($name, $refresh = false)
    {
        return $this->getTableMetadata($name, SchemaInterface::META_INDEXES, $refresh);
    }
Obtains the indexes information for the named table.
@param string $name table name. The table name may contain schema name if any. Do not quote the table name.
@param bool $refresh whether to reload the information even if it is found in the cache.
@return IndexConstraint[] table indexes.