Table of Contents

Method SizeGt

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

SizeGt(FieldDefinition<TDocument>, int)

Creates a size greater than filter.

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

Parameters

field FieldDefinition<TDocument>

The field.

size int

The size.

Returns

FilterDefinition<TDocument>

A size greater than filter.

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

Creates a size greater than filter.

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

Parameters

field Expression<Func<TDocument, object>>

The field.

size int

The size.

Returns

FilterDefinition<TDocument>

A size greater than filter.