evseevnn-zz / php-cassandra-binary

PHP library for Cassandra database via a binary protocol.
http://evseevnn.github.io/php-cassandra-binary/
MIT License
69 stars 33 forks source link

Paginate results #52

Closed CBox closed 9 years ago

CBox commented 9 years ago

Hi,

Is there any function to paginate results?

I've a table for client that belongs to project that belong to user: CREATE TABLE project_clients( user_id int, project_id int, client_id text, PRIMARY KEY ((user_id, project_id), client_id) );

How can I paginate throw the results?

Thanks!

evseevnn-zz commented 9 years ago

This is what you need? http://www.datastax.com/documentation/cql/3.0/cql/cql_using/paging_c.html

CBox commented 9 years ago

Yes thanks!