RawOptions

Options by name, for an option of AbstractOptions.with that takes nested options; start from DEFAULT.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun with(key: String, value: Field): RawOptions

A copy with the option key set to a reference to the field value. The JS SDK sends a field reference only as a nearest-neighbour search's distance field or an unnest's index field; on JS and wasmJs any other fails the execution.

fun with(key: String, value: RawOptions): RawOptions

A copy with the option key set to the options value.

fun with(key: String, value: Boolean): RawOptions
fun with(key: String, value: Double): RawOptions
fun with(key: String, value: Long): RawOptions
fun with(key: String, value: String): RawOptions

A copy with the option key set to value.