hi, I want to apply multiple filters on query to get records. Here is the sample code -
$where = Aerospike::predicateEquals($col1, $val1); $where = Aerospike::predicateEquals($col2, $val2); $status = $aersopike->query($namespace, $set, $where, function ($record) use (&$result) { $result = $record[‘bins’]; });
But it throws an error i.e. Predicate is expected to include the keys ‘bin’,‘op’, and ‘val’.
How can i apply multiple filter on query using php client??..please help
Regards Nitish Janterparia