Table of Contents

Method GeoSpatial

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

GeoSpatial(string)

Sets the key name to create a geospatial index on.

public IndexKeysBuilder GeoSpatial(string name)

Parameters

name string

The key name.

Returns

IndexKeysBuilder

The builder (so method calls can be chained).