const classafBson::MaxKey

sys::Obj
  afBson::MaxKey

@Serializable { simple=true }

(BSON Type) - MaxKey is greater than any other value of any type. This can be useful for always returning certain documents last (or first).

defVal

Source

const static MaxKey defVal := ...

Singleton value.

toJs

Source

Str toJs()

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

maxKey.toJs  // --> MaxKey

See MongoDB Extended JSON.

val

Source

static MaxKey val()

Returns the singleton defVal instance.