Click or drag to resize

Function Class

A class for creating IExpression instances that represent functions
Inheritance Hierarchy
SystemObject
  Couchbase.Lite.QueryFunction

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.1.0-b0232
Syntax
C#
public static class Function

The Function type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAbs
Creates a function that will get the absolute value of the expression in question
Public methodStatic memberAcos
Creates a function that will get the inverse cosine of the expression in question
Public methodStatic memberAsin
Creates a function that will get the inverse sin of the expression in question
Public methodStatic memberAtan
Creates a function that will get the inverse tangent of the expression in question
Public methodStatic memberAtan2
Creates a function that will get the arctangent of the point expressed by expressions calculating X and Y of the point for the formula
Public methodStatic memberAvg
Creates a function that will calculate the average of the expression in question across the results in a particular query
Public methodStatic memberCeil
Creates a function that will get the ceiling value of the expression in question
Public methodStatic memberContains
Creates a function that will calculate if a given string is inside of another in question
Public methodStatic memberCos
Creates a function that will get the cosine of the expression in question
Public methodStatic memberCount
Creates a function that will count the occurrences of expression in question across the results in a particular query
Public methodStatic memberDegrees
Creates a function that will convert a numeric expression to degrees from radians in question
Public methodStatic memberE
Creates a function that will return the value of the mathemetical constant 'e'
Public methodStatic memberExp
Returns the mathematical constant 'e' raised to the given power
Public methodStatic memberFloor
Creates a function that will get the floor value of the expression in question
Public methodStatic memberLength
Creates a function that gets the length of a string in question
Public methodStatic memberLn
Creates a function that gets the natural log of the numerical expression
Public methodStatic memberLog
Creates a function that gets the base 10 log of the numerical expression
Public methodStatic memberLower
Creates a function that converts a string to lower case
Public methodStatic memberLtrim
Creates a function that removes whitespace from the beginning of a string
Public methodStatic memberMax
Creates a function that will calculate the max value of the expression in question across the results in a particular query
Public methodStatic memberMin
Creates a function that will calculate the min value of the expression in question across the results in a particular query
Public methodStatic memberPi
Creates a function that will return the value of the mathemetical constant 'Ï€'
Public methodStatic memberPower
Creates a function that will raise the given numeric expression to an expression that determines the exponent
Public methodStatic memberRadians
Creates a function that will convert a numeric expression to radians from degrees in question
Public methodStatic memberRound(IExpression)
Creates a function that will round the given expression in question
Public methodStatic memberRound(IExpression, IExpression)
Creates a function that will round the given expression to the number of digits indicated in question
Public methodStatic memberRtrim
Creates a function that removes whitespace from the end of a string
Public methodStatic memberSign
Creates a function that returns the sign (positive, negative, or neither) of the expression in question
Public methodStatic memberSin
Creates a function that returns the sin of the expression in question
Public methodStatic memberSqrt
Creates a function that returns the square root of the expression in question
Public methodStatic memberSum
Creates a function that will calculate the sum of the expression in question across the results in a particular query
Public methodStatic memberTan
Creates a function that returns the tangent of the expression in question
Public methodStatic memberTrim
Creates a function that removes whitespace from the start and end of a string
Public methodStatic memberTrunc(IExpression)
Creates a function that will truncate the given expression (i.e remove all the digits after the decimal place) in question
Public methodStatic memberTrunc(IExpression, IExpression)
Creates a function that will truncate the given expression to the number of digits indicated in question
Public methodStatic memberUpper
Creates a function that converts a string to upper case
Top
See Also