IWithShardKey Interface

Definition

The stage of the mongo collection update allowing to set shard keys.

public interface IWithShardKey
type IWithShardKey = interface
Public Interface IWithShardKey
Derived

Methods

WithoutShardKey(String)

Removes a shard key.

WithoutShardKeys()

Removes all shard keys.

WithShardKey(String)

Specifies a shard key with default partition kind "Hash".

WithShardKey(String, String)

Specifies a shard key.

WithShardKeys(IDictionary<String,String>)

Appends all shard keys to current shard keys.

Applies to