Cassandra\SchemaMetadataIntegrationTest::createCollectionSecondaryIndex PHP Method

createCollectionSecondaryIndex() protected method

Create the collections secondary index using the table
    protected function createCollectionSecondaryIndex()
    {
        $statement = new SimpleStatement("CREATE INDEX collection ON {$this->tableNamePrefix} (KEYS(value2))");
        $this->session->execute($statement);
    }