toString

open override fun toString(): String(source)

Returns the string representation of this Path. This is the representation that is sent to MongoDB to refer to a Field.

For example, the path Path(PathSegment.Indexed(5), Path(PathSegment.Field("foo"), null)) represents the path "foo.5".