Click or drag to resize

FunctionContains Method

Creates a function that will calculate if a given string is inside of another in question

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0520
Syntax
C#
public static IExpression Contains(
	IExpression expression,
	IExpression substring
)

Parameters

expression
Type: Couchbase.Lite.QueryIExpression
The string or expression that evaluates to a string to search
substring
Type: Couchbase.Lite.QueryIExpression
The string or expression that evaluates to a string to search for

Return Value

Type: IExpression
A function that will return true if the string contains the other, or false if it does not
See Also