CanonicalOp Type
Represents SQL functions and operations that can be applied to columns. These operations are translated to database-specific SQL functions.
Union cases
| Union case |
Description
|
Full Usage:
ACos
|
Returns the arccosine of a number |
Full Usage:
ASin
|
Returns the arcsine of a number |
Full Usage:
ATan
|
Returns the arctangent of a number |
Full Usage:
Abs
|
Returns the absolute value of a number |
|
Adds the specified number of days to a datetime value
|
Full Usage:
AddHours float
Parameters:
float
|
Adds the specified number of hours to a datetime value
|
|
Adds the specified number of minutes to a datetime value
|
Full Usage:
AddMonths int
Parameters:
int
|
Adds the specified number of months to a datetime value
|
Full Usage:
AddSeconds float
Parameters:
float
|
Adds the specified number of seconds to a datetime value
|
|
Adds the specified number of years to a datetime value
|
Full Usage:
BasicMath(operation, constant)
Parameters:
string
constant : obj
|
Basic mathematical operation with a constant value
|
Full Usage:
BasicMathLeft(operation, constant)
Parameters:
string
constant : obj
|
Left-side basic mathematical operation with a constant value
|
Full Usage:
BasicMathOfColumns(operation, alias, column)
Parameters:
string
alias : string
column : SqlColumnType
|
Basic mathematical operation between columns
|
Full Usage:
CaseNotSql(Condition, SqlItemOrColumn)
Parameters:
Condition
Item2 : SqlItemOrColumn
|
SQL CASE expression with negated condition and true value
|
Full Usage:
CaseSql(Condition, SqlItemOrColumn)
Parameters:
Condition
Item2 : SqlItemOrColumn
|
SQL CASE expression with condition and false value
|
|
SQL CASE expression with condition and two constant values
|
Full Usage:
CastInt
|
Casts a value to INTEGER type |
Full Usage:
CastVarchar
|
Casts a value to VARCHAR type |
Full Usage:
Ceil
|
Returns the smallest integer greater than or equal to a number (ceiling) |
Full Usage:
Cos
|
Returns the cosine of an angle (in radians) |
Full Usage:
Date
|
Extracts the date part from a datetime value |
|
Calculates the difference in days between two datetime values
|
|
Calculates the difference in seconds between two datetime values
|
Full Usage:
Day
|
Extracts the day from a datetime value |
Full Usage:
Floor
|
Returns the largest integer less than or equal to a number (floor) |
|
Returns the greatest value among the provided arguments
|
Full Usage:
Hour
|
Extracts the hour from a datetime value |
|
Returns the index of the first occurrence of a substring
|
Returns the index of a substring starting from a specified position
|
|
|
Returns the smallest value among the provided arguments
|
Full Usage:
Length
|
Returns the length of a string |
Full Usage:
Minute
|
Extracts the minute from a datetime value |
Full Usage:
Month
|
Extracts the month from a datetime value |
|
Raises a number to the power of another number
|
|
Raises a number to a constant power
|
Replaces occurrences of a substring with another substring
|
|
Full Usage:
Round
|
Rounds a number to the nearest integer |
Full Usage:
RoundDecimals int
Parameters:
int
|
Rounds a number to the specified number of decimal places
|
Full Usage:
Second
|
Extracts the second from a datetime value |
Full Usage:
Sin
|
Returns the sine of an angle (in radians) |
Full Usage:
Sqrt
|
Returns the square root of a number |
|
Extracts a substring from the specified position to the end
|
Full Usage:
SubstringWithLength(SqlItemOrColumn, SqlItemOrColumn)
Parameters:
SqlItemOrColumn
Item2 : SqlItemOrColumn
|
Extracts a substring with specified start position and length
|
Full Usage:
Tan
|
Returns the tangent of an angle (in radians) |
Full Usage:
ToLower
|
Converts string to lowercase |
Full Usage:
ToUpper
|
Converts string to uppercase |
Full Usage:
Trim
|
Removes leading and trailing whitespace |
Full Usage:
Truncate
|
Truncates a number to its integer part |
Full Usage:
Year
|
Extracts the year from a datetime value |
Instance members
| Instance member |
Description
|
Full Usage:
this.IsACos
Returns: bool
|
|
Full Usage:
this.IsASin
Returns: bool
|
|
Full Usage:
this.IsATan
Returns: bool
|
|
Full Usage:
this.IsAbs
Returns: bool
|
|
Full Usage:
this.IsAddDays
Returns: bool
|
|
Full Usage:
this.IsAddHours
Returns: bool
|
|
Full Usage:
this.IsAddMinutes
Returns: bool
|
|
Full Usage:
this.IsAddMonths
Returns: bool
|
|
Full Usage:
this.IsAddSeconds
Returns: bool
|
|
Full Usage:
this.IsAddYears
Returns: bool
|
|
Full Usage:
this.IsBasicMath
Returns: bool
|
|
Full Usage:
this.IsBasicMathLeft
Returns: bool
|
|
Full Usage:
this.IsBasicMathOfColumns
Returns: bool
|
|
Full Usage:
this.IsCaseNotSql
Returns: bool
|
|
Full Usage:
this.IsCaseSql
Returns: bool
|
|
Full Usage:
this.IsCaseSqlPlain
Returns: bool
|
|
Full Usage:
this.IsCastInt
Returns: bool
|
|
Full Usage:
this.IsCastVarchar
Returns: bool
|
|
Full Usage:
this.IsCeil
Returns: bool
|
|
Full Usage:
this.IsCos
Returns: bool
|
|
Full Usage:
this.IsDate
Returns: bool
|
|
Full Usage:
this.IsDateDiffDays
Returns: bool
|
|
Full Usage:
this.IsDateDiffSecs
Returns: bool
|
|
Full Usage:
this.IsDay
Returns: bool
|
|
Full Usage:
this.IsFloor
Returns: bool
|
|
Full Usage:
this.IsGreatest
Returns: bool
|
|
Full Usage:
this.IsHour
Returns: bool
|
|
Full Usage:
this.IsIndexOf
Returns: bool
|
|
Full Usage:
this.IsIndexOfStart
Returns: bool
|
|
Full Usage:
this.IsLeast
Returns: bool
|
|
Full Usage:
this.IsLength
Returns: bool
|
|
Full Usage:
this.IsMinute
Returns: bool
|
|
Full Usage:
this.IsMonth
Returns: bool
|
|
Full Usage:
this.IsPow
Returns: bool
|
|
Full Usage:
this.IsPowConst
Returns: bool
|
|
Full Usage:
this.IsReplace
Returns: bool
|
|
Full Usage:
this.IsRound
Returns: bool
|
|
Full Usage:
this.IsRoundDecimals
Returns: bool
|
|
Full Usage:
this.IsSecond
Returns: bool
|
|
Full Usage:
this.IsSin
Returns: bool
|
|
Full Usage:
this.IsSqrt
Returns: bool
|
|
Full Usage:
this.IsSubstring
Returns: bool
|
|
Full Usage:
this.IsSubstringWithLength
Returns: bool
|
|
Full Usage:
this.IsTan
Returns: bool
|
|
Full Usage:
this.IsToLower
Returns: bool
|
|
Full Usage:
this.IsToUpper
Returns: bool
|
|
Full Usage:
this.IsTrim
Returns: bool
|
|
Full Usage:
this.IsTruncate
Returns: bool
|
|
Full Usage:
this.IsYear
Returns: bool
|
|