Table of Contents

Method SizeLt

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

SizeLt(FieldDefinition<TDocument>, int)

Creates a size less than filter.

public FilterDefinition<TDocument> SizeLt(FieldDefinition<TDocument> field, int size)

Parameters

field FieldDefinition<TDocument>

The field.

size int

The size.

Returns

FilterDefinition<TDocument>

A size less than filter.

SizeLt(Expression<Func<TDocument, object>>, int)

Creates a size less than filter.

public FilterDefinition<TDocument> SizeLt(Expression<Func<TDocument, object>> field, int size)

Parameters

field Expression<Func<TDocument, object>>

The field.

size int

The size.

Returns

FilterDefinition<TDocument>

A size less than filter.