GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DBIX::CUSTOM::ORDER (3)

.ds Aq ’

NAME

DBIx::Custom::Order - Order by clause

CONTENTS

SYNOPSIS



  # Result
  my $order = DBIx::Custom::Order->new;
  $order->prepend(title, author desc);
  my $order_by = "$order";



ATTRIBUTES

    dbi



  my $dbi = $order->dbi;
  $order = $order->dbi($dbi);



DBIx::Custom object.

    orders



  my $orders = $result->orders;
  $result = $result->orders(\%orders);



Parts of order by clause

METHODS

DBIx::Custom::Result inherits all methods from Object::Simple and implements the following new ones.

    prepend



  $order->prepend(title, author desc);



Prepend order parts to orders.

    to_string



  my $order_by = $order->to_string;



Create order by clause. If column name is duplicated, First one is used. to_string override stringification. so you can write the following way.



  my $order_by = "$order";



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DBIX::CUSTOM::ORDER (3) 2015-01-13

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.