Click or drag to resize

IExpression Interface

An interface representing an abstract expression that can act on a given piece of data

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.1.0-b0232
Syntax
C#
public interface IExpression

The IExpression type exposes the following members.

Methods
  NameDescription
Public methodAdd
Mathematically adds the given expression to the current expression
Public methodAnd
Logically "ands" the given expression with the current expression
Public methodBetween
Determines if the result is between the two given expressions
Public methodCollate
Collates the previous expression using the given collation instance (normally this is used directly after Property(String) when it is part of a Where(IExpression) or OrderBy(IOrdering))
Public methodDivide
Matehematically divides the current and given expressions
Public methodEqualTo
Returns an expression that will evaluate whether or not the given and current expression are equal
Public methodGreaterThan
Returns an expression that will evaluate whether or not the given expression is greater than the current one
Public methodGreaterThanOrEqualTo
Returns an expression that will evaluate whether or not the given expression is greater than or equal to the current one
Public methodIn
Returns an expression to test whether or not the given expression is contained in the given list of expressions
Public methodIs
Returns an expression to test whether or not the given expression is the same as the current current expression
Public methodIsNot
Returns an expression to test whether or not the given expression is NOT the same as the current current expression
Public methodIsNullOrMissing
Gets an expression representing if the current expression is null or missing (i.e. does not have a value)
Public methodLessThan
Returns an expression that will evaluate whether or not the given expression is less than the current one
Public methodLessThanOrEqualTo
Returns an expression that will evaluate whether or not the given expression is less than or equal to the current one
Public methodLike
Returns an expression that will evaluate whether or not the given expression is "LIKE" the current one
Public methodModulo
Returns an modulo math expression using the current and given expressions as operands
Public methodMultiply
Returns a multiply expression using the current and given expressions as operands
Public methodNotEqualTo
Returns an expression that will evaluate whether or not the given and current expression are not equal
Public methodNotNullOrMissing
Gets an expression representing if the current expression is neither null nor missing (i.e. has a value)
Public methodOr
Logically "ors" the given expression with the current expression
Public methodRegex
Returns an expression that will evaluate whether or not the given expression regex matches the current one
Public methodSubtract
Mathematically subtracts the given expression to the current expression
Top
See Also