Table of Contents

Method SetQuery

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

SetQuery(string, BsonValue)

Sets the query on the optional additional field.

public GeoHaystackSearchOptionsBuilder SetQuery(string additionalFieldName, BsonValue value)

Parameters

additionalFieldName string

The name of the additional field.

value BsonValue

The value fo the additional field.

Returns

GeoHaystackSearchOptionsBuilder

The builder (so method calls can be chained).