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

NAME

Fey::SQL::Pg::Role::Returning - A role for SQL statements that have a RETURNING clause

METHODS

returning

Specify columns to return. See the documentation on select in Fey::SQL::Select for the exact syntax, as this method takes the same input

returning_clause

Returns the RETURNING portion as an SQL string

DESCRPITION

Many statements in PostgreSQL allow you to specify a RETURNING clause. This role simply abstracts this part of generation.

AUTHOR

Oliver Charles <oliver.g.charles@googlemail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Oliver Charles.

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