Skip to content

Commit f6241e9

Browse files
committed
control-flow, date-time doc
1 parent c157a90 commit f6241e9

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

doc/expressions/README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,29 @@ Asterisks (*) denote expressions not natively from MySQL.
4242
+ [`notEq(expr, expr)` (in MySQL, both `<>` and `!=` are valid)](https://dev.mysql.com/doc/refman/8.0/en/comparison-operators.html#operator_not-equal)
4343
+ [`notIn(expr, ...)`](https://dev.mysql.com/doc/refman/8.0/en/comparison-operators.html#function_not-in)
4444
+ [`nullSafeEq(expr, expr)`](https://dev.mysql.com/doc/refman/8.0/en/comparison-operators.html#operator_equal-to)
45-
+ [`nullSafeNotEq(expr, expr)`*]
45+
+ `nullSafeNotEq(expr, expr)`*
4646

4747
Internally, `NOT (a <=> b)`
4848

4949
+ Control-flow
50-
+ IF
51-
+ CASE
50+
+ [`if(boolean, expr, expr)`](https://dev.mysql.com/doc/refman/8.0/en/control-flow-functions.html#function_if)
51+
+ [`case()`/`case(expr)`](https://dev.mysql.com/doc/refman/8.0/en/control-flow-functions.html#operator_case)
52+
5253
+ Date-time
53-
+ TIMESTAMP_ADD
54-
+ TIMESTAMP_DIFF
55-
+ UTC_TIMESTAMP
54+
+ [`timestampAdd(TemporalUnit, bigint, Date)`](https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_timestampadd)
55+
+ [`timestampDiff(TemporalUnit, Date, Date)`](https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_timestampdiff)
56+
+ [`utcTimestamp(0|1|2|3)`](https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_utc-timestamp)
57+
5658
+ Information
5759
+ DATABASE
5860
+ FOUND_ROWS
61+
5962
+ Math
6063
+ CEIL
6164
+ FLOOR
6265
+ RAND
6366
+ ROUND
67+
6468
+ String
6569
+ ASCII
6670
+ BIN
@@ -76,8 +80,10 @@ Asterisks (*) denote expressions not natively from MySQL.
7680
+ FORMAT
7781
+ FROM_BASE64
7882
+ HEX
83+
7984
+ Subquery
8085
+ EXISTS
86+
8187
+ Arithmetic
8288
+ ADD
8389
+ ADD_AS_DECIMAL*
@@ -87,10 +93,12 @@ Asterisks (*) denote expressions not natively from MySQL.
8793
+ MUL
8894
+ NEG
8995
+ SUB
96+
9097
+ Logical
9198
+ AND
9299
+ IS NOT NULL AND
93100
+ NOT
94101
+ OR
95102
+ XOR
103+
96104
+ Custom Functions

0 commit comments

Comments
 (0)