Re: token() function in CQL3 (1.2.5)

2013-06-29 Thread Oleksandr Petrov
Tokens are very useful for pagination and "world" iteration. For example, when you want to scan an entire table, you want to use token() function. You can refer two guides we've written for Clojure driver (although they do not contain much clojure-specific information. First one is Data Modelling

Re: token() function in CQL3 (1.2.5)

2013-06-19 Thread Tyler Hobbs
On Wed, Jun 19, 2013 at 7:47 AM, Ben Boule wrote: > Can anyone explain this to me? I have been looking through the source > code but can't seem to find the answer. > > The documentation mentions using the token() function to change a value > into it's token for use in queries. It always menti

token() function in CQL3 (1.2.5)

2013-06-19 Thread Ben Boule
Can anyone explain this to me? I have been looking through the source code but can't seem to find the answer. The documentation mentions using the token() function to change a value into it's token for use in queries. It always mentions it as taking a single parameter: SELECT * FROM posts