Instance Propertymongokitten 7.10.1MongoKitten
command
Collection+Find.swift:115var command: FindCommand { get set }var command: FindCommand { get set }s11MongoKitten16FindQueryBuilderC7command0aB4Core0C7CommandVvp What are these?HF77import MongoKittenfinal class FindQueryBuilderA builder that constructs a FindCommand, created by running find(_:)
struct FindCommandvar debugDescription: String { get }var isDrained: Bool { get }func batchSize(_ batchSize: Int) -> FindQueryBuilder Sets the batch size for this cursor, limiting the amount of documents returned per roundtrip
func count() async throws -> Int @Sendable func execute() async throws -> FinalizedCursor<FindQueryBuilder> func getConnection() async throws -> MongoConnection func limit(_ limit: Int) -> FindQueryBuilder Limits the amount of documents returned by this cursor
func project(_ projection: Projection) -> FindQueryBuilder Projects the documents returned by this cursor, limiting the fields returned.
func project(_ projection: Document) -> FindQueryBuilder Projects the documents returned by this cursor, limiting the fields returned.
func skip(_ skip: Int) -> FindQueryBuilder Skips the given amount of documents before returning the rest
func sort(_ sort: Sorting) -> FindQueryBuilder Sorts the documents returned by this cursor
func sort(_ sort: Document) -> FindQueryBuilder Sorts the documents returned by this cursor
func transformElement(_ element: Document) throws -> Document typealias Element = Document