all

open val all: BsonPath(source)

Points to all children of a document.

  • The children of a BsonArray are its elements.

  • The children of a Bson document are the values of its fields.

Example

BsonPath["foo"].all   // $.foo.*