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