CreateIndex

public struct CreateIndex: Fn

This function creates a new index where the name and source class are specified in params.

Reference.

  • Declaration

    Swift

    public init(_ params: Expr)

    Parameters

    params

    Index configuration.