Scroll to navigation

BSON_EQUAL(3) libbson BSON_EQUAL(3)

SYNOPSIS

bool
bson_equal (const bson_t *bson, const bson_t *other);


PARAMETERS

  • bson: A bson_t <>.
  • other: A bson_t <>.

DESCRIPTION

The bson_equal() <> function shall return true if both documents are equal.

RETURNS

true if both documents are equal.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

December 11, 2025 2.2.1