Table of Contents

Method All

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

All(string, IEnumerable<BsonValue>)

Tests that the named array element contains all of the values (see $all).

public static IMongoQuery All(string name, IEnumerable<BsonValue> values)

Parameters

name string

The name of the element to test.

values IEnumerable<BsonValue>

The values to compare to.

Returns

IMongoQuery

An IMongoQuery.