Remove

public struct Remove: Fn

Deletes an event from an instance’s history. The ref must refer to an instance of an user-defined class - all other refs result in an “invalid argument” error.

Reference.

  • Declaration

    Swift

    public init(ref: Expr, ts: Expr, action: Expr)

    Parameters

    ref

    Indicates the instance resource.

    ts

    Event timestamp.

    action

    .create or .delete.

  • Declaration

    Swift

    public init(from ref: Expr, ts: Expr, action: Action)

    Parameters

    ref

    Indicates the instance resource.

    ts

    Event timestamp.

    action

    create or delete.