Bson |
| Name | Description | |
|---|---|---|
| ExecuteScalar(Collation) | Execute scalar expression with an blank document and empty source (used only for resolve math/functions). | |
| ExecuteScalar(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 | |
| ExecuteScalar(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 |