Operator operator ==
operator ==(BsonObjectId, BsonObjectId)
Compares two BsonObjectId values.
Parameters
lhs
BsonObject Id The first BsonObjectId.
rhs
BsonObject Id The other BsonObjectId.
Returns
- bool
True if the two BsonObjectId values are equal according to ==.