Table of Contents

Property Limit

Namespace
MongoDB.Driver.Core.Operations
Assembly
MongoDB.Driver.Core.dll

Limit

Gets or sets a limit on the number of documents that should be deleted.

public int Limit { get; set; }

Property Value

int

A limit on the number of documents that should be deleted.

Remarks

The server only supports 0 or 1, and 0 means that all matching documents should be deleted.