1SQL::ReservedWords::MySUQsLe(r3)Contributed Perl DocumenStQaLt:i:oRneservedWords::MySQL(3)
2
3
4

NAME

6       SQL::ReservedWords::MySQL - Reserved SQL words by MySQL
7

SYNOPSIS

9          if ( SQL::ReservedWords::MySQL->is_reserved( $word ) ) {
10              print "$word is a reserved MySQL word!";
11          }
12

DESCRIPTION

14       Determine if words are reserved by MySQL.
15

METHODS

17       is_reserved( $word )
18           Returns a boolean indicating if $word is reserved by either MySQL
19           3.2, 4.0, 4.1, 5.0 or 5.1.
20
21       is_reserved_by_mysql3( $word )
22           Returns a boolean indicating if $word is reserved by MySQL 3.2.
23
24       is_reserved_by_mysql4( $word )
25           Returns a boolean indicating if $word is reserved by either MySQL
26           4.0 or 4.1.
27
28       is_reserved_by_mysql5( $word )
29           Returns a boolean indicating if $word is reserved by either MySQL
30           5.0 or 5.1.
31
32       reserved_by( $word )
33           Returns a list with MySQL versions that reserves $word.
34
35       words
36           Returns a list with all reserved words.
37

EXPORTS

39       Nothing by default. Following subroutines can be exported:
40
41       is_reserved
42       is_reserved_by_mysql3
43       is_reserved_by_mysql4
44       is_reserved_by_mysql5
45       reserved_by
46       words
47

SEE ALSO

49       SQL::ReservedWords
50
51       <http://dev.mysql.com/doc/>
52

AUTHOR

54       Christian Hansen "chansen@cpan.org"
55
57       This program is free software, you can redistribute it and/or modify it
58       under the same terms as Perl itself.
59
60
61
62perl v5.36.0                      2022-07-22      SQL::ReservedWords::MySQL(3)
Impressum