Method Wildcard
Wildcard(FieldDefinition<TDocument>)
Creates a wildcard index key definition. The method doesn't expect to specify a wildcard key explicitly.
Parameters
field
FieldDefinition <TDocument>The wildcard key name. If the wildcard name is empty, the generated key will be
All field paths
, otherwiseA single field path
.
Returns
- Index
Keys <TDocument>Definition A wildcard index key definition.
Wildcard(Expression<Func<TDocument, object>>)
Creates a wildcard index key definition.
Parameters
field
Expression<Func<TDocument, object>>The field expression representing the wildcard key name.
Returns
- Index
Keys <TDocument>Definition A wildcard index key definition.