const classafBson::MaxKey
sys::Obj afBson::MaxKey
(BSON Type) - MaxKey is greater than any other value of any type. This can be useful for always returning certain documents last (or first).
- toJs
Str toJs()Returns a Mongo Shell compliant, JavaScript representation of
MaxKey. Example:maxKey.toJs
// --> MaxKey