Click or drag to resize

ExpressionEvery Method

Returns the start of an expression that will evaluate if every element inside of an array matches a given predicate (note: That means that an empty array will return true because "all zero" elements match) Usage:
Expression.Every("x").In(Expression.Property("prop")).Satisfies(Expression.Variable("x").EqualTo(42))

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0364
Syntax
C#
public static IExpressionIn Every(
	string variable
)

Parameters

variable
Type: SystemString
The name to assign to the variable that will be used later via Variable(String)

Return Value

Type: IExpressionIn
The first portion of the completed expression for further modification
See Also