$eight = $cassandra->cf('properties')->getWhere(array(array('price', Cassandra::OP_LT, 500)));
foreach ($eight as $key => $value) {
echo "ID: " . $value['id'];
echo "postcode: " . $value['postcode'];
echo "Price: " . $value['price'];
}
However the only operator which works is OP_EQ...i have researched and apparently it has something to do with order preserve partitioning...I am new to cassandra and any help would be brilliant
Hello,
i have the following code below:
$eight = $cassandra->cf('properties')->getWhere(array(array('price', Cassandra::OP_LT, 500))); foreach ($eight as $key => $value) { echo "ID: " . $value['id']; echo "postcode: " . $value['postcode']; echo "Price: " . $value['price']; } However the only operator which works is OP_EQ...i have researched and apparently it has something to do with order preserve partitioning...I am new to cassandra and any help would be brilliant
Thanks