Table of Contents

Method Wildcard

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

Wildcard(string)

Creates a search path that uses special characters in the field name that can match any character.

public SearchPathDefinition<TDocument> Wildcard(string query)

Parameters

query string

The wildcard string that the field name must match.

Returns

SearchPathDefinition<TDocument>

A wildcard search path.