spec/Clusterpoint/Instance/ServiceSpec.php
function it_parses_order_by_1_param()
    {
        $this->beConstructedWith(new ConnectionFaker);
        $response = $this->orderBy("price")->get();
        $response->executedQuery()->shouldReturn('SELECT * FROM database ORDER BY price DESC LIMIT 0, 20');
    }
function it_parses_order_by_1_param()
    {
        $this->beConstructedWith(new ConnectionFaker);
        $response = $this->orderBy("price")->get();
        $response->executedQuery()->shouldReturn('SELECT * FROM database ORDER BY price DESC LIMIT 0, 20');
    }
function it_parses_order_by_1_param ( ) { $ this -> beConstructedWith ( new ConnectionFaker ) ; $ response = $ this -> orderBy ( "price" ) -> get ( ) ; $ response -> executedQuery ( ) -> shouldReturn ( 'SELECT * FROM database ORDER BY price DESC LIMIT 0, 20' ) ; }
Order by
Order by