From 38305bcd9b5031ec6d184f50d2b289552f9b4feb Mon Sep 17 00:00:00 2001 From: Karoly Gossler Date: Thu, 7 Mar 2024 08:17:00 +0100 Subject: [PATCH] misc urls --- src/Query/Mysql/Over.php | 6 +++++- src/Query/Mysql/Regexp.php | 6 +++++- src/Query/Mysql/Replace.php | 4 +++- src/Query/Mysql/UuidShort.php | 6 +++++- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/Query/Mysql/Over.php b/src/Query/Mysql/Over.php index 7e1d327c..bd42c947 100644 --- a/src/Query/Mysql/Over.php +++ b/src/Query/Mysql/Over.php @@ -13,7 +13,11 @@ use function trim; /** - * ArithmeticExpression "OVER" "(" [OrderByClause] ")" + * OverFunction ::= "OVER" "(" ArithmeticExpression "," [OrderByClause] ")" + * + * @link https://dev.mysql.com/doc/refman/en/window-functions-usage.html + * + * @example */ class Over extends FunctionNode { diff --git a/src/Query/Mysql/Regexp.php b/src/Query/Mysql/Regexp.php index 7a7aeb06..7c6dab7c 100644 --- a/src/Query/Mysql/Regexp.php +++ b/src/Query/Mysql/Regexp.php @@ -8,7 +8,11 @@ use Doctrine\ORM\Query\TokenType; /** - * "(" StringPrimary "REGEXP" StringExpression ")" + * RegexpFunction ::= "(" StringPrimary "REGEXP" StringExpression ")" + * + * @link https://dev.mysql.com/doc/refman/en/regexp.html#operator_regexp + * + * @example */ class Regexp extends FunctionNode { diff --git a/src/Query/Mysql/Replace.php b/src/Query/Mysql/Replace.php index c71388e6..ab8e89bc 100644 --- a/src/Query/Mysql/Replace.php +++ b/src/Query/Mysql/Replace.php @@ -8,7 +8,9 @@ use Doctrine\ORM\Query\TokenType; /** - * "REPLACE" "(" ArithmeticPrimary "," ArithmeticPrimary "," ArithmeticPrimary ")" + * ReplaceFunction ::= "REPLACE" "(" ArithmeticPrimary "," ArithmeticPrimary "," ArithmeticPrimary ")" + * + * @link https://dev.mysql.com/doc/refman/en/string-functions.html#function_replace * * @author Jarek Kostrz */ diff --git a/src/Query/Mysql/UuidShort.php b/src/Query/Mysql/UuidShort.php index 1f55bec7..f9683178 100644 --- a/src/Query/Mysql/UuidShort.php +++ b/src/Query/Mysql/UuidShort.php @@ -8,7 +8,11 @@ use Doctrine\ORM\Query\TokenType; /** - * "UUID_SHORT" "(" ")" + * UuidShortFunction ::= "UUID_SHORT" "(" ")" + * + * @link https://dev.mysql.com/doc/refman/en/miscellaneous-functions.html#function_uuid-short + * + * @example */ class UuidShort extends FunctionNode {