Table of Contents

Method EncStrContains

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

EncStrContains(string, string)

Translates to the "$encStrContains" aggregation expression operator for use in LINQ queries against QE-encrypted string fields.

public static bool EncStrContains(string input, string value)

Parameters

input string

The field value.

value string

The substring to search for.

Returns

bool

true if the field value contains the substring.