Fey::SQL::Intersect - Represents an INTERSECT operation


Fey documentation Contained in the Fey distribution.

Index


Code Index:

NAME

Top

Fey::SQL::Intersect - Represents an INTERSECT operation

VERSION

Top

version 0.40

SYNOPSIS

Top

  my $intersect = Fey::SQL->new_intersect;

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

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

  print $intersect->sql($dbh);

DESCRIPTION

Top

This class represents an INTERSECT 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::Intersect;
BEGIN {
  $Fey::SQL::Intersect::VERSION = '0.40';
}

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

use Moose;

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

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

1;

# ABSTRACT: Represents an INTERSECT operation




__END__