X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FData%2FQuery%2FConstants.pm;h=f4fed7718a0d9ae8ab2e6c3bfd43b63778174bba;hb=5a0586236846b07ec90b3ea1e28f8a6f7c0fa8bf;hp=d6e58ae5f79a87bb866bdcf438ba68fb566786da;hpb=9ee33178ce8c375d48775c279075c93a24dcd92a;p=dbsrgits%2FData-Query.git diff --git a/lib/Data/Query/Constants.pm b/lib/Data/Query/Constants.pm index d6e58ae..f4fed77 100644 --- a/lib/Data/Query/Constants.pm +++ b/lib/Data/Query/Constants.pm @@ -6,9 +6,22 @@ use Exporter 'import'; use constant +{ (our %CONST = ( DQ_IDENTIFIER => 'Identifier', + DQ_OPERATOR => 'Operator', + DQ_VALUE => 'Value', + DQ_SELECT => 'Select', + DQ_ALIAS => 'Alias', + DQ_LITERAL => 'Literal', + DQ_JOIN => 'Join', + DQ_ORDER => 'Order', + DQ_WHERE => 'Where', + DQ_DELETE => 'Delete', + DQ_UPDATE => 'Update', + DQ_INSERT => 'Insert', + DQ_GROUP => 'Group', + DQ_SLICE => 'Slice', )) }; -our @EXPORT_OK = keys our %CONST; +our @EXPORT = keys our %CONST; 1;