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


Fey documentation Contained in the Fey distribution.

Index


Code Index:

NAME

Top

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

VERSION

Top

version 0.40

SYNOPSIS

Top

  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

Top

This class represents a UNION set operator.

METHODS

Top

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

ROLES

Top

* Fey::Role::SetOperation
* Fey::Role::SQL::Cloneable

BUGS

Top

See Fey for details on how to report bugs.

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Top


Fey documentation Contained in the Fey distribution.

package Fey::SQL::Union;
BEGIN {
  $Fey::SQL::Union::VERSION = '0.40';
}

use strict;
use warnings;
use namespace::autoclean;

use Moose;

with 'Fey::Role::SetOperation' => { keyword => 'UNION' };

with 'Fey::Role::SQL::Cloneable';

1;

# ABSTRACT: Represents a UNION operation




__END__