Commit | Line | Data |
9ee33178 |
1 | package Data::Query::Constants; |
2 | |
3 | use strictures 1; |
4 | use Exporter 'import'; |
5 | |
6 | use constant +{ |
7 | (our %CONST = ( |
8 | DQ_IDENTIFIER => 'Identifier', |
b616bc41 |
9 | DQ_OPERATOR => 'Operator', |
10 | DQ_VALUE => 'Value', |
9c8fc055 |
11 | DQ_SELECT => 'Select', |
2cf0bb42 |
12 | DQ_ALIAS => 'Alias', |
13 | DQ_LITERAL => 'Literal', |
14 | DQ_JOIN => 'Join', |
7f462f86 |
15 | DQ_ORDER => 'Order', |
d131041b |
16 | DQ_WHERE => 'Where', |
dc657ce1 |
17 | DQ_DELETE => 'Delete', |
87867dad |
18 | DQ_UPDATE => 'Update', |
a5c0a2d5 |
19 | DQ_INSERT => 'Insert', |
a1042388 |
20 | DQ_GROUP => 'Group', |
951e8806 |
21 | DQ_SLICE => 'Slice', |
9ee33178 |
22 | )) |
23 | }; |
24 | |
6b45ffe4 |
25 | our @EXPORT = keys our %CONST; |
9ee33178 |
26 | |
27 | 1; |