Table of Contents

Method Hashed

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

Hashed(string)

Sets the key name to create a hashed index on.

public IndexKeysBuilder Hashed(string name)

Parameters

name string

The key name.

Returns

IndexKeysBuilder

The builder (so method calls can be chained).