Table of Contents

Class EvalArgs

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

Represents arguments for the Eval command helper method.

public class EvalArgs
Inheritance
EvalArgs
Inherited Members
Extension Methods

Properties

Args

Gets or sets the arguments to the JavaScript code.

public IEnumerable<BsonValue> Args { get; set; }

Property Value

IEnumerable<BsonValue>

Code

Gets or sets the JavaScript code.

public BsonJavaScript Code { get; set; }

Property Value

BsonJavaScript

Lock

Gets or sets a value indicating whether the server should take a global write lock when executing the JavaScript code.

public bool? Lock { get; set; }

Property Value

bool?

MaxTime

Gets or sets the max time.

public TimeSpan? MaxTime { get; set; }

Property Value

TimeSpan?