The output of 'describe keyspace' would be useful for figuring this
out, at well.
On Tue, Jun 28, 2011 at 5:10 PM, Jean-Nicolas Boulay Desjardins
wrote:
> Sorry, my mistake. The variable name was wrong. Weird, I did not get any
> errors.
>
> Thanks anyways.
>
> But I do Have a another question.
Sorry, my mistake. The variable name was wrong. Weird, I did not get any errors.
Thanks anyways.
But I do Have a another question. When looking in cassandra-cli I did
"get Users[jnbdz];" and I got:
A long is exactly 8 bytes: 10
And I don't get the data.
Am I missing something?
Thanks in advan
What does the ouput of 'describe keyspace ' show for the
keyspace the CF is in?
On Tue, Jun 28, 2011 at 2:35 PM, Jean-Nicolas Boulay Desjardins
wrote:
> Actually I am not getting any results from: get_indexed_slices()
>
> It seems my code dies at: $rows =
> $column_family->get_indexed_slices($ind
Actually I am not getting any results from: get_indexed_slices()
It seems my code dies at: $rows =
$column_family->get_indexed_slices($index_clause);
Because everything after that is echo is not shown on the page.
Plus I don't get any errors.
Any ideas?
On Tue, Jun 28, 2011 at 3:23 PM, Tyler H
The result of get_indexed_slices() is an Iterator object, not an
array. It doesn't look like you're treating it accordingly.
See the bottom of this section for an example:
http://thobbs.github.com/phpcassa/tutorial.html#indexes
On Tue, Jun 28, 2011 at 2:06 PM, Jean-Nicolas Boulay Desjardins
wro
Hi,
I am having problem accessing data via an index with PHPCassa. I have
var_dump() the results:
array(6) { ["birthdate"]=> int(3546927995491989807) ["email"]=>
string(20) "jnbdzjn...@gmail.com" ["firstname"]=> string(12)
"Jean-Nicolas" ["lastname"]=> string(17) "Boulay Desjardins"
["password"]=