const classafBson::MaxKey

sys::Obj
  afBson::MaxKey

@Serializable

(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

Source

Str toJs()

Returns a Mongo Shell compliant, JavaScript representation of MaxKey. Example:

maxKey.toJs  // --> MaxKey

See MongoDB Extended JSON.