mingo
    Preparing search index...

    Class ComputeOptions

    Generic options interface passed down to all operators

    Implements

    Index

    Properties

    options: Options

    Accessors

    • get scriptEnabled(): boolean

      Enable or disable custom script execution using $where, $accumulator, and $function operators.

      Returns boolean

      true.
      

    Methods

    • Initializes a new instance of the ComputeOptions class with the provided options.

      Parameters

      • options: Partial<Options>

        A partial set of options to configure the ComputeOptions instance. If an instance of ComputeOptions is provided, its internal options and locals are used.

      Returns ComputeOptions

      A new ComputeOptions instance configured with the provided options and root.