Table of Contents

Method SetMin

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

SetMin(BsonDocument)

Sets the min value for the index key range of documents to return (note: the min value itself is included in the range). Often combined with SetHint (if SetHint is not used the server will attempt to determine the matching index automatically).

public virtual MongoCursor SetMin(BsonDocument min)

Parameters

min BsonDocument

The min value.

Returns

MongoCursor

The cursor (so you can chain method calls to it).