RemoteFindOptions
public struct RemoteFindOptions
Options to use when executing a find command on a RemoteMongoCollection.
-
Convenience initializer allowing any/all parameters to be optional
Declaration
Swift
public init(limit: Int64? = nil, projection: Document? = nil, sort: Document? = nil)
-
The maximum number of documents to return.
Declaration
Swift
public let limit: Int64? -
Limits the fields to return for all matching documents.
Declaration
Swift
public let projection: Document? -
The order in which to return matching documents.
Declaration
Swift
public let sort: Document?
RemoteFindOptions Structure Reference