Required Instance Methodmongokitten 7.9.5MongoKitten
transformElement(_:)
Transforms a given Document
to the cursor Element
type
func transformElement(_ element: Document) async throws -> Element
Other requirements
Type members
associatedtype Element
The Element type of the cursor
Instance members
func execute(
) async throws -> FinalizedCursor<Self> Executes the cursor, returning a
FinalizedCursor
after the operation has completed.func getConnection(
) async throws -> MongoConnection Gets the connection associated with this cursor