Click or drag to resize
MongoDatabase.Eval Method (EvalArgs)
Evaluates JavaScript code at the server.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.3.0
Syntax
public virtual BsonValue Eval(
	EvalArgs args
)

Parameters

args
Type: MongoDB.Driver.EvalArgs
The args.

Return Value

Type: BsonValue
The result of evaluating the code.
See Also