MongoDatabaseEval Method (EvalArgs) |
Evaluates JavaScript code at the server.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax public virtual BsonValue Eval(
EvalArgs args
)
Public Overridable Function Eval (
args As EvalArgs
) As BsonValue
abstract Eval :
args : EvalArgs -> BsonValue
override Eval :
args : EvalArgs -> BsonValue
Parameters
- args
- Type: MongoDB.DriverEvalArgs
The args.
Return Value
Type:
BsonValueThe result of evaluating the code.
See Also