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