NAME

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

VERSION

version 0.37

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.

BUGS

See Fey for details on how to report bugs.

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2010 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0