/[Redis.pre-github]/lib/Redis.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/Redis.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 45 by dpavlin, Mon Mar 23 10:42:29 2009 UTC revision 48 by dpavlin, Mon Mar 23 11:33:21 2009 UTC
# Line 536  sub flushall { Line 536  sub flushall {
536          $self->_sock_send_ok('flushall');          $self->_sock_send_ok('flushall');
537  }  }
538    
539    =head1 Sorting
540    
541    =head2 sort
542    
543      $r->sort("key BY pattern LIMIT start end GET pattern ASC|DESC ALPHA');
544    
545    =cut
546    
547    sub sort {
548            my ( $self, $sort ) = @_;
549            $self->_sock_result_bulk_list( "SORT $sort" );
550    }
551    
552    =head1 Persistence control commands
553    
554    =head2 save
555    
556      $r->save;
557    
558    =cut
559    
560    sub save {
561            my $self = shift;
562            $self->_sock_send_ok( 'SAVE' );
563    }
564    
565  =head1 AUTHOR  =head1 AUTHOR
566    
567  Dobrica Pavlinusic, C<< <dpavlin at rot13.org> >>  Dobrica Pavlinusic, C<< <dpavlin at rot13.org> >>

Legend:
Removed from v.45  
changed lines
  Added in v.48

  ViewVC Help
Powered by ViewVC 1.1.26