| 1 | package SQL::Dialects::AnyData; | ||
| 2 | |||
| 3 | ######################################################################### | ||
| 4 | # | ||
| 5 | # This module is copyright (c), 2001,2005 by Jeff Zucker. | ||
| 6 | # This module is copyright (c), 2007-2020 by Jens Rehsack. | ||
| 7 | # All rights reserved. | ||
| 8 | # | ||
| 9 | # It may be freely distributed under the same terms as Perl itself. | ||
| 10 | # | ||
| 11 | # See below for help (search for SYNOPSIS) | ||
| 12 | ######################################################################### | ||
| 13 | |||
| 14 | use strict; | ||
| 15 | use warnings FATAL => "all"; | ||
| 16 | |||
| 17 | use vars qw($VERSION); | ||
| 18 | $VERSION = '1.414'; | ||
| 19 | |||
| 20 | use SQL::Dialects::Role; | ||
| 21 | |||
| 22 | sub get_config | ||
| 23 | { | ||
| 24 | return <<EOC; | ||
| 25 | [VALID COMMANDS] | ||
| 26 | CREATE | ||
| 27 | DROP | ||
| 28 | SELECT | ||
| 29 | INSERT | ||
| 30 | UPDATE | ||
| 31 | DELETE | ||
| 32 | |||
| 33 | [VALID OPTIONS] | ||
| 34 | SELECT_MULTIPLE_TABLES | ||
| 35 | SELECT_AGGREGATE_FUNCTIONS | ||
| 36 | |||
| 37 | [VALID COMPARISON OPERATORS] | ||
| 38 | = | ||
| 39 | <> | ||
| 40 | < | ||
| 41 | <= | ||
| 42 | > | ||
| 43 | >= | ||
| 44 | LIKE | ||
| 45 | NOT LIKE | ||
| 46 | CLIKE | ||
| 47 | NOT CLIKE | ||
| 48 | RLIKE | ||
| 49 | NOT RLIKE | ||
| 50 | IS | ||
| 51 | IS NOT | ||
| 52 | IN | ||
| 53 | NOT IN | ||
| 54 | BETWEEN | ||
| 55 | NOT BETWEEN | ||
| 56 | |||
| 57 | [VALID DATA TYPES] | ||
| 58 | CHAR | ||
| 59 | VARCHAR | ||
| 60 | REAL | ||
| 61 | INT | ||
| 62 | INTEGER | ||
| 63 | BLOB | ||
| 64 | TEXT | ||
| 65 | |||
| 66 | [RESERVED WORDS] | ||
| 67 | INTEGERVAL | ||
| 68 | STRING | ||
| 69 | REALVAL | ||
| 70 | IDENT | ||
| 71 | NULLVAL | ||
| 72 | PARAM | ||
| 73 | OPERATOR | ||
| 74 | IS | ||
| 75 | AND | ||
| 76 | OR | ||
| 77 | ERROR | ||
| 78 | INSERT | ||
| 79 | UPDATE | ||
| 80 | SELECT | ||
| 81 | DELETE | ||
| 82 | DROP | ||
| 83 | CREATE | ||
| 84 | ALL | ||
| 85 | DISTINCT | ||
| 86 | WHERE | ||
| 87 | ORDER | ||
| 88 | ASC | ||
| 89 | DESC | ||
| 90 | FROM | ||
| 91 | INTO | ||
| 92 | BY | ||
| 93 | VALUES | ||
| 94 | SET | ||
| 95 | NOT | ||
| 96 | TABLE | ||
| 97 | CHAR | ||
| 98 | VARCHAR | ||
| 99 | REAL | ||
| 100 | INTEGER | ||
| 101 | PRIMARY | ||
| 102 | KEY | ||
| 103 | BLOB | ||
| 104 | TEXT | ||
| 105 | EOC | ||
| 106 | } | ||
| 107 | 1; | ||
| 108 | |||
| 109 | =pod | ||
| 110 | |||
| 111 | =head1 NAME | ||
| 112 | |||
| 113 | SQL::Dialects::AnyData | ||
| 114 | |||
| 115 | =head1 SYNOPSIS | ||
| 116 | |||
| 117 | use SQL::Dialects::AnyData; | ||
| 118 | $config = SQL::Dialects::AnyData->get_config(); | ||
| 119 | |||
| 120 | =head1 DESCRIPTION | ||
| 121 | |||
| 122 | This package provides the necessary configuration for AnyData SQL. | ||
| 123 | |||
| 124 | =head1 FUNCTIONS | ||
| 125 | |||
| 126 | =head2 get_config | ||
| 127 | |||
| 128 | Returns the configuration for AnyData SQL. The configuration is delivered in | ||
| 129 | ini-style: | ||
| 130 | |||
| 131 | [VALID COMMANDS] | ||
| 132 | ... | ||
| 133 | |||
| 134 | [VALID OPTIONS] | ||
| 135 | ... | ||
| 136 | |||
| 137 | [VALID COMPARISON OPERATORS] | ||
| 138 | ... | ||
| 139 | |||
| 140 | [VALID DATA TYPES] | ||
| 141 | ... | ||
| 142 | |||
| 143 | [RESERVED WORDS] | ||
| 144 | ... | ||
| 145 | |||
| 146 | =head1 AUTHOR & COPYRIGHT | ||
| 147 | |||
| 148 | This module is | ||
| 149 | |||
| 150 | copyright (c) 2001,2005 by Jeff Zucker and | ||
| 151 | copyright (c) 2007-2020 by Jens Rehsack. | ||
| 152 | |||
| 153 | All rights reserved. | ||
| 154 | |||
| 155 | The module may be freely distributed under the same terms as | ||
| 156 | Perl itself using either the "GPL License" or the "Artistic | ||
| 157 | License" as specified in the Perl README file. | ||
| 158 | |||
| 159 | Jeff can be reached at: jzuckerATcpan.org | ||
| 160 | Jens can be reached at: rehsackATcpan.org or via dbi-devATperl.org | ||
| 161 | |||
| 162 | =cut |