The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Pg::SQL::PrettyPrinter::Node::SelectStmt - Class representing single select statement

SYNOPSIS

Not to be used directly.

FUNCTIONS

Aside from functions listed below, it inherits functions from Pg::SQL::PrettyPrinter::Node.

new

Makes select object, first using parent's constructur, and calls appropriate init_* method to initialize subelements.

setop

Text name of set operation that this select has, or undef. These is one of:

  • EXCEPT

  • EXCEPT ALL

  • INTERSECT

  • INTERSECT ALL

  • UNION

  • UNION ALL

init_setop

Initializes elements of query if it's set operation based.

init_plain

Initializes elements of query if it's not set operation based.

as_text

Returns data from appropriate as_text_* method.

as_text_setop

Returns this object as text without extra formatting. This is for set operation based selects.

as_text_plain

Returns this object as text without extra formatting. This is for non set operation based selects.

pretty_print

Returns data from appropriate pretty_print_* method.

pretty_print_setop

Returns this object as text using pretty printing. This is for set operation based selects.

pretty_print_plain

Returns this object as text using pretty printing. This is for not set operation based selects.

AUTHOR

hubert depesz lubaczewski, <depesz at depesz.com>

BUGS

Please report any bugs or feature requests to depesz at depesz.com.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Pg::SQL::PrettyPrinter::Node::SelectStmt

COPYRIGHT & LICENSE

Copyright hubert depesz lubaczewski, all rights reserved.

This program is distributed under the (Revised) BSD License.