name

abstract val name: String(source)

The name of this option, as it appears in the BSON representation.

Options always have the form:

find(
{
"limit": 10,
"sort": { }
},
{ }
)

In this example, the LimitOption has the name "limit" and the SortOption has the name "sort".

Implementation notes

This value should be immutable.