MCPcopy Create free account
hub / github.com/documentdb/documentdb / BsonValueEquals

Function BsonValueEquals

pg_documentdb_core/src/query/bson_compare.c:423–428  ·  view source on GitHub ↗

* checks if two bson values are equal. * types are compared using semantics, so comparing 1 to 1.0 will return true. */

Source from the content-addressed store, hash-verified

421 * types are compared using semantics, so comparing 1 to 1.0 will return true.
422 */
423bool
424BsonValueEquals(const bson_value_t *left, const bson_value_t *right)
425{
426 bool isComparisonValidIgnore;
427 return CompareBsonValueAndType(left, right, &isComparisonValidIgnore) == 0;
428}
429
430
431/*

Calls 1

CompareBsonValueAndTypeFunction · 0.85

Tested by

no test coverage detected