Skip to content

FilteredPositional

@LowLevelApi
data class FilteredPositional(val filterName: String) : PathSegment

Path segment for the "filtered positional" operator (.$[<filterName>]).

This class isn't type-safe. Instead, see opensavvy.ktmongo.dsl.query.UpdateQuery.filter.

Official documentation:

Constructors

FilteredPositional

constructor(filterName: String)

Properties

filterName

Functions

toString

open override fun toString(): String

Returns the string representation of this PathSegment. To obtain the representation of an entire Path, see Path.toString.