FindOptions
extension FindOptions
-
Limits the fields to return for all matching documents.
Declaration
Swift
public var projection: Document? { get set }
-
The order in which to return matching documents.
Declaration
Swift
public var sort: Document? { get set }
-
Options to use when executing a
find
command on aRLMMongoCollection
.Declaration
Parameters
limit
The maximum number of documents to return. Specifying 0 will return all documents.
projected
Limits the fields to return for all matching documents.
sort
The order in which to return matching documents.