MongoCursor

    A cursor returned from a query, used to iterate over the results. Used in find, aggregate, and listCollections. This is a reference type, and should be used as such.

    Cursor.swift:14
    final class MongoCursor

    let cursor = collection.find(…) while let doc = try await cursor.next() { print(doc) }

    Citizens in MongoClient

    Conformances

    Type members

    Instance members

    Available in MongoKitten

    Conformances

    Typealiases

    Instance members

    Instance features