Created
February 6, 2017 18:09
-
-
Save mpenick/68b457c45634e2dd294fd0dfab7790dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $cluster = Cassandra::cluster()->build(); | |
| $connectionFuture = $cluster->connectAsync(); | |
| $session = $connectionFuture->get(); | |
| $schema = $session->schema(); | |
| foreach ($schema->keyspaces() as $keyspace) { | |
| foreach ($keyspace->tables() as $table) { | |
| foreach ($table->columns() as $column) | |
| { $column->type(); } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment