MongoDatabaseEval Method (EvalArgs) |
Evaluates JavaScript code at the server.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
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