Couchbase Lite .NET Documentation
Couchbase Lite .NET Documentation
Couchbase.Lite.Query
Function Class
Function Methods
Trunc Method
Trunc Method (IExpression)
Trunc Method (IExpression, IExpression)
Function
Trunc Method (IExpression, IExpression)
Creates a function that will truncate the given expression to the number of digits indicated in question
Namespace:
Couchbase.Lite.Query
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.1.0-b0232
Syntax
C#
Copy
public
static
IExpression
Trunc
(
IExpression
expression
,
IExpression
digits
)
Parameters
expression
Type:
Couchbase.Lite.Query
IExpression
The numeric expression to take data from when calculating the result
digits
Type:
Couchbase.Lite.Query
IExpression
The number of digits to truncate to
Return Value
Type:
IExpression
A function that will truncate the expression
See Also
Reference
Function Class
Trunc Overload
Couchbase.Lite.Query Namespace