Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-24508 BSONElement::ComparatorInterface | David Storch | 2016-09-02 | 1 | -131/+25 |
| | |||||
* | SERVER-24508 delete BSONObjCmp | David Storch | 2016-08-23 | 1 | -16/+29 |
| | | | | Instead, use BSONObj::ComparatorInterface. | ||||
* | SERVER-24508 BSONObj::ComparatorInterface | David Storch | 2016-08-18 | 1 | -0/+195 |
BSONObj instances should now be compared via the comparator interface's evaluate() method. This preferred over using BSONObj::woCompare() directly. If the comparison doesn't require any database semantics (e.g. there is no collation), there is a global instance of the SimpleBSONObjComparator which should be used for BSONObj comparisons. If the comparison requires special semantics, then callers must instantiate their own comparator object. |