Skip to content

Commit

Permalink
fix quotation marks
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Mar 4, 2024
1 parent d473738 commit 8e5b723
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 26 deletions.
6 changes: 3 additions & 3 deletions src/Query/Mysql/ConcatWs.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
4 changes: 2 additions & 2 deletions src/Query/Mysql/ConvertTz.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*
* @link https://dev.mysql.com/doc/refman/en/date-and-time-functions.html#function_convert-tz
*
* @example SELECT CONVERT_TZ(foo.bar, "GMT", "CEST") FROM entity
* @example SELECT CONVERT_TZ("2024-02-06 12:00:00", "GMT", "CEST")
* @example SELECT CONVERT_TZ(foo.bar, 'GMT', 'CEST') FROM entity
* @example SELECT CONVERT_TZ('2024-02-06 12:00:00', 'GMT', 'CEST')
*/
class ConvertTz extends FunctionNode
{
Expand Down
2 changes: 1 addition & 1 deletion src/Query/Mysql/Crc32.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/Query/Mysql/Date.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/Query/Mysql/DateFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/Query/Mysql/Day.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/Query/Mysql/DayName.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
4 changes: 2 additions & 2 deletions src/Query/Mysql/Extract.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
4 changes: 2 additions & 2 deletions src/Query/Mysql/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/Query/Mysql/FindInSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @link https://dev.mysql.com/doc/refman/en/string-functions.html#function_find-in-set
*
* @example SELECT FIND_IN_SET(foo.bar, foo.bar2) FROM entity
* @example SELECT FIND_IN_SET("str", "a,b,str") FROM entity
* @example SELECT FIND_IN_SET('str', 'a,b,str') FROM entity
*/
class FindInSet extends FunctionNode
{
Expand Down
2 changes: 1 addition & 1 deletion src/Query/Mysql/FromUnixtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/Query/Mysql/Hex.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* @link https://dev.mysql.com/doc/refman/en/string-functions.html#function_hex
*
* @example SELECT HEX("string")
* @example SELECT HEX('string')
* @example SELECT HEX(foo.bar) FROM entity
*/
class Hex extends FunctionNode
Expand Down
2 changes: 1 addition & 1 deletion src/Query/Mysql/Hour.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/Query/Mysql/Inet6Aton.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
*
* @link https://dev.mysql.com/doc/refman/en/miscellaneous-functions.html#function_inet6-aton
*
* @example SELECT INET6_ATON("127.0.0.1")
* @example SELECT HEX(INET6_ATON("127.0.0.1"))
* @example SELECT INET6_ATON('127.0.0.1')
* @example SELECT HEX(INET6_ATON('127.0.0.1'))
* @example SELECT HEX(INET6_ATON(foo.bar)) FROM entity
*/
class Inet6Aton extends FunctionNode
Expand Down
2 changes: 1 addition & 1 deletion src/Query/Mysql/InetAton.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @link https://dev.mysql.com/doc/refman/en/miscellaneous-functions.html#function_inet-aton
*
* @example SELECT INET_ATON("127.0.0.1")
* @example SELECT INET_ATON('127.0.0.1')
* @example SELECT INET_ATON(foo.bar) FROM entity
*/
class InetAton extends FunctionNode
Expand Down
4 changes: 2 additions & 2 deletions src/Query/Mysql/Instr.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*
* @link https://dev.mysql.com/doc/refman/en/string-functions.html#function_instr
*
* @example SELECT INSTR("foobar", "bar")
* @example SELECT INSTR(foo.bar, "bar") FROM entity
* @example SELECT INSTR('foobar', 'bar')
* @example SELECT INSTR(foo.bar, 'bar') FROM entity
*/
class Instr extends FunctionNode
{
Expand Down
2 changes: 1 addition & 1 deletion src/Query/Mysql/IsIpv4.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @link https://dev.mysql.com/doc/refman/en/miscellaneous-functions.html#function_is-ipv4
*
* @example SELECT IS_IPV4("127.0.0.1")
* @example SELECT IS_IPV4('127.0.0.1')
* @example SELECT IS_IPV4(foo.bar) FROM entity
*/
class IsIpv4 extends FunctionNode
Expand Down
2 changes: 1 addition & 1 deletion src/Query/Mysql/JsonLength.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @link https://dev.mysql.com/doc/refman/en/json-attribute-functions.html#function_json-length
*
* @example SELECT JSON_LENGTH(foo.bar, "$.low") FROM entity
* @example SELECT JSON_LENGTH(foo.bar, '$.low') FROM entity
*/
class JsonLength extends FunctionNode
{
Expand Down

0 comments on commit 8e5b723

Please sign in to comment.