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

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(3) function shall return true if both documents are equal.

RETURNS

true if both documents are equal.

COLOPHON

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.