addWithStrategy

fun <T : Any> addWithStrategy(strategy: SerializationStrategy<T>, value: T)(source)

Adds a field value to the Query The value will be encoded according to the EncodeSettings set by this builder.

Parameters

T

the type of the value to add

strategy

the SerializationStrategy to apply to the value

value

the value T to add