mingo
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Returns a cursor for iterating over the items in the given collection that match the query criteria.

      Type Parameters

      • T

        The type of the items in the resulting cursor.

      Parameters

      • collection: Source

        The source collection to search through.

      • Optionalprojection: AnyObject

        An optional object specifying fields to include or exclude in the returned items.

      Returns Cursor<T>

      A Cursor instance for iterating over the matching items.

    • Tests whether the given object satisfies all compiled predicates.

      Type Parameters

      • T

        The type of the object to test.

      Parameters

      • obj: T

        The object to be tested against the compiled predicates.

      Returns boolean

      true if the object satisfies all predicates, otherwise false.