$command = (new Command\Builder\QueryIndex($riak))
->buildBucket('users')
->withIndex('users_name', 'Knuth')
->build();
$response = $command->execute();
$index_results = $response->getIndexResults();
Show file
Open project: basho/riak-php-client
Class Usage Examples
Method | Description | |
---|---|---|
build ( ) : Basho\Riak\Command\Indexes\Query | ||
validate ( ) |
public build ( ) : Basho\Riak\Command\Indexes\Query | ||
return | Basho\Riak\Command\Indexes\Query |