-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,9 @@ | |
* @link https://dev.mysql.com/doc/refman/en/string-functions.html#function_concat-ws | ||
* | ||
* @author Andrew Mackrodt <[email protected]> | ||
* @example SELECT CONCAT_WS(",", foo.bar, foo.bar2) FROM entity | ||
* @example SELECT CONCAT_WS(",", foo.bar, foo.bar2, foo.bar3) FROM entity | ||
* @example SELECT CONCAT_WS(",", foo.bar, foo.bar2, "NOTEMPTY") FROM entity | ||
* @example SELECT CONCAT_WS(',', foo.bar, foo.bar2) FROM entity | ||
* @example SELECT CONCAT_WS(',', foo.bar, foo.bar2, foo.bar3) FROM entity | ||
* @example SELECT CONCAT_WS(',', foo.bar, foo.bar2, "NOTEMPTY") FROM entity | ||
*/ | ||
class ConcatWs extends FunctionNode | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
* | ||
* @author Igor Timoshenko <[email protected]> | ||
* @example SELECT CRC32(foo.bar) FROM entity | ||
* @example SELECT CRC32("string") | ||
* @example SELECT CRC32('string') | ||
*/ | ||
class Crc32 extends FunctionNode | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
* @link https://dev.mysql.com/doc/refman/en/date-and-time-functions.html#function_date | ||
* | ||
* @author Steve Lacey <[email protected]> | ||
* @example SELECT DATE("2024-05-06") | ||
* @example SELECT DATE('2024-05-06') | ||
* @example SELECT DATE(foo.bar) | ||
*/ | ||
class Date extends FunctionNode | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,8 @@ | |
* | ||
* @author Steve Lacey <[email protected]> | ||
* | ||
* @example SELECT DATEFORMAT("2024-05-06", "%a") | ||
* @example SELECT DATEFORMAT(foo.bar, "%H") FROM entity | ||
* @example SELECT DATEFORMAT('2024-05-06', '%a') | ||
* @example SELECT DATEFORMAT(foo.bar, '%H') FROM entity | ||
*/ | ||
class DateFormat extends FunctionNode | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* @author Rafael Kassner <[email protected]> | ||
* @author Sarjono Mukti Aji <[email protected]> | ||
* @example SELECT DAY(foo.bar) FROM entity | ||
* @example SELECT DAY("2023-05-06") | ||
* @example SELECT DAY('2023-05-06') | ||
*/ | ||
class Day extends FunctionNode | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
* | ||
* @author Steve Lacey <[email protected]> | ||
* @example SELECT DAYNAME(foo.bar) FROM entity | ||
* @example SELECT DAYNAME("2023-05-06") | ||
* @example SELECT DAYNAME('2023-05-06') | ||
*/ | ||
class DayName extends FunctionNode | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,8 @@ | |
* | ||
* @author Ahwalian Masykur <[email protected]> | ||
* | ||
* @example SELECT EXTRACT("MINUTE" FROM foo.bar) FROM entity | ||
* @example SELECT EXTRACT("YEAR" FROM "2024-05-06") | ||
* @example SELECT EXTRACT('MINUTE' FROM foo.bar) FROM entity | ||
* @example SELECT EXTRACT('YEAR' FROM '2024-05-06') | ||
*/ | ||
class Extract extends DateAdd | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,8 @@ | |
* | ||
* @author Jeremy Hicks <[email protected]> | ||
* | ||
* @example SELECT FIELD("str", foo.bar) FROM entity | ||
* @example SELECT FIELD("str", foo.bar, foo.bar2, foo.bar3) FROM entity | ||
* @example SELECT FIELD('str', foo.bar) FROM entity | ||
* @example SELECT FIELD('str', foo.bar, foo.bar2, foo.bar3) FROM entity | ||
*/ | ||
class Field extends FunctionNode | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
* | ||
* @author Nima S <[email protected]> | ||
* @example SELECT FROM_UNIXTIME(123456789) | ||
* @example SELECT FROM_UNIXTIME(foo.bar, "%Y") FROM entity | ||
* @example SELECT FROM_UNIXTIME(foo.bar, '%Y') FROM entity | ||
*/ | ||
class FromUnixtime extends FunctionNode | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
* | ||
* @author Dawid Nowak <[email protected]> | ||
* | ||
* @example SELECT HOUR("12:50:15") | ||
* @example SELECT HOUR('12:50:15') | ||
* @example SELECT HOUR(foo.bar) FROM entity | ||
*/ | ||
class Hour extends FunctionNode | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters