Click or drag to resize

BsonExpressionExecuteScalar Method

Overload List
 NameDescription
Public methodExecuteScalar(Collation) Execute scalar expression with an blank document and empty source (used only for resolve math/functions).
Public methodExecuteScalar(BsonDocument, Collation) Execute scalar expression over single document and return a single value (or BsonNull when empty). Throws exception if expression are not scalar expression
Public methodExecuteScalar(IEnumerableBsonDocument, Collation) Execute scalar expression over multiple documents and return a single value (or BsonNull when empty). Throws exception if expression are not scalar expression
Top
See Also