NAME

Fey::SQL::Union - Represents a UNION operation

SYNOPSIS

  my $union = Fey::SQL->new_union;

  $union->union( Fey::SQL->new_select->select(...),
                 Fey::SQL->new_select->select(...),
                 Fey::SQL->new_select->select(...),
                 ...
               );

  $union->order_by( $part_name, 'DESC' );
  $union->limit(10);

  print $union->sql($dbh);

DESCRIPTION

This class represents a UNION set operator.

METHODS

See Fey::Role::SetOperation for all methods.

ROLES

This class does Fey::Role::SetOperation.

AUTHOR

Hans Dieter Pearcey, <hdp.cpan.fey@weftsoar.net>

BUGS

See Fey for details on how to report bugs.

COPYRIGHT & LICENSE

Copyright 2006-2009 Dave Rolsky, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.