* Converts Numeric bson value to 64 bit integer * This method can throw, see GetBsonDecimal128AsInt64 method summary for details. */
| 551 | * This method can throw, see GetBsonDecimal128AsInt64 method summary for details. |
| 552 | */ |
| 553 | int64_t |
| 554 | BsonValueAsInt64(const bson_value_t *value) |
| 555 | { |
| 556 | bool throwIfFailed = false; |
| 557 | return BsonValueAsInt64WithRoundingMode(value, ConversionRoundingMode_Floor, |
| 558 | throwIfFailed); |
| 559 | } |
| 560 | |
| 561 | |
| 562 | /* |
no test coverage detected