pub enum Function<'a> {
Show 185 variants
Abs,
Acos,
AddDate,
AddMonths,
AddTime,
Ascii,
Asin,
Atan,
Atan2,
Bin,
BitLength,
Ceil,
CharacterLength,
Chr,
Concat,
ConcatWs,
Conv,
ConvertTs,
Cos,
Cot,
Crc32,
Crc32c,
CurDate,
CurrentTimestamp,
CurTime,
Date,
DateAdd,
DateDiff,
DateFormat,
DateSub,
Datetime,
DayName,
DayOfMonth,
DayOfWeek,
DayOfYear,
Degrees,
Elt,
Exists,
Exp,
ExportSet,
ExtractValue,
Field,
FindInSet,
Floor,
Format,
FromBase64,
FromDays,
FromUnixTime,
Greatest,
Hex,
If,
IfNull,
Insert,
InStr,
JsonArray,
JsonArrayAgg,
JsonArrayAppend,
JsonArrayInsert,
JsonArrayIntersect,
JsonCompact,
JsonContains,
JsonContainsPath,
JsonDepth,
JsonDetailed,
JsonEquals,
JsonExists,
JsonExtract,
JsonInsert,
JsonKeys,
JsonLength,
JsonLoose,
JsonMerge,
JsonMergePath,
JsonMergePerserve,
JsonNormalize,
JsonObject,
JsonObjectAgg,
JsonObjectFilterKeys,
JsonObjectToArray,
JsonOverlaps,
JsonPretty,
JsonQuery,
JsonQuote,
JsonRemove,
JsonReplace,
JsonSchemaValid,
JsonSearch,
JsonSet,
JsonTable,
JsonType,
JsonUnquote,
JsonValid,
JsonValue,
LCase,
Least,
Left,
Length,
LengthB,
Ln,
LoadFile,
Locate,
Log,
Log10,
Log2,
Lower,
LPad,
LTrim,
MakeDate,
MakeSet,
MakeTime,
Max,
MicroSecond,
Mid,
Min,
Minute,
MonthName,
NaturalSortkey,
Now,
NullIf,
NVL2,
Oct,
OctetLength,
Ord,
PeriodAdd,
PeriodDiff,
Pi,
Position,
Pow,
Quarter,
Quote,
Radians,
Rand,
Repeat,
Replace,
Reverse,
Right,
Round,
RPad,
RTrim,
Second,
SecToTime,
SFormat,
Sign,
Sin,
SoundEx,
Space,
Sqrt,
StrCmp,
Strftime,
StrToDate,
SubDate,
SubStr,
SubStringIndex,
SubTime,
Sum,
Tan,
Time,
TimeDiff,
TimeFormat,
Timestamp,
TimestampAdd,
TimestampDiff,
TimeToSec,
ToBase64,
ToChar,
ToDays,
ToSeconds,
Truncate,
UCase,
UncompressedLength,
UnHex,
UnixTimestamp,
Unknown,
UpdateXml,
Upper,
UtcDate,
UtcTime,
UtcTimeStamp,
Value,
Week,
Weekday,
WeekOfYear,
Lead,
Lag,
Other(&'a str),
}
Expand description
Function to execute
Variants§
Abs
Acos
AddDate
AddMonths
AddTime
Ascii
Asin
Atan
Atan2
Bin
BitLength
Ceil
CharacterLength
Chr
Concat
ConcatWs
Conv
ConvertTs
Cos
Cot
Crc32
Crc32c
CurDate
CurrentTimestamp
CurTime
Date
DateAdd
DateDiff
DateFormat
DateSub
Datetime
DayName
DayOfMonth
DayOfWeek
DayOfYear
Degrees
Elt
Exists
Exp
ExportSet
ExtractValue
Field
FindInSet
Floor
Format
FromBase64
FromDays
FromUnixTime
Greatest
Hex
If
IfNull
Insert
InStr
JsonArray
JsonArrayAgg
JsonArrayAppend
JsonArrayInsert
JsonArrayIntersect
JsonCompact
JsonContains
JsonContainsPath
JsonDepth
JsonDetailed
JsonEquals
JsonExists
JsonExtract
JsonInsert
JsonKeys
JsonLength
JsonLoose
JsonMerge
JsonMergePath
JsonMergePerserve
JsonNormalize
JsonObject
JsonObjectAgg
JsonObjectFilterKeys
JsonObjectToArray
JsonOverlaps
JsonPretty
JsonQuery
JsonQuote
JsonRemove
JsonReplace
JsonSchemaValid
JsonSearch
JsonSet
JsonTable
JsonType
JsonUnquote
JsonValid
JsonValue
LCase
Least
Left
Length
LengthB
Ln
LoadFile
Locate
Log
Log10
Log2
Lower
LPad
LTrim
MakeDate
MakeSet
MakeTime
Max
MicroSecond
Mid
Min
Minute
MonthName
NaturalSortkey
Now
NullIf
NVL2
Oct
OctetLength
Ord
PeriodAdd
PeriodDiff
Pi
Position
Pow
Quarter
Quote
Radians
Rand
Repeat
Replace
Reverse
Right
Round
RPad
RTrim
Second
SecToTime
SFormat
Sign
Sin
SoundEx
Space
Sqrt
StrCmp
Strftime
StrToDate
SubDate
SubStr
SubStringIndex
SubTime
Sum
Tan
Time
TimeDiff
TimeFormat
Timestamp
TimestampAdd
TimestampDiff
TimeToSec
ToBase64
ToChar
ToDays
ToSeconds
Truncate
UCase
UncompressedLength
UnHex
UnixTimestamp
Unknown
UpdateXml
Upper
UtcDate
UtcTime
UtcTimeStamp
Value
Week
Weekday
WeekOfYear
Lead
Lag
Other(&'a str)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Function<'a>
impl<'a> RefUnwindSafe for Function<'a>
impl<'a> Send for Function<'a>
impl<'a> Sync for Function<'a>
impl<'a> Unpin for Function<'a>
impl<'a> UnwindSafe for Function<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more