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