Dave Rolsky > Fey-0.28 > Fey::Role::SQL::HasOrderByClause

Download:
Fey-0.28.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs

Source   Latest Release: Fey-0.34

NAME ^

Fey::Role::SQL::HasOrderByClause - A role for queries which can include a ORDER BY clause

SYNOPSIS ^

  use Moose;

  with 'Fey::Role::SQL::HasOrderByClause';

DESCRIPTION ^

Classes which do this role represent a query which can include a ORDER BY clause.

METHODS ^

This role provides the following methods:

$query->order_by()

See the Fey::SQL section on ORDER BY Clauses for more details.

$query->order_by_clause()

Returns the ORDER BY clause portion of the SQL statement as a string.

AUTHOR ^

Dave Rolsky, <autarch@urth.org>

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.