Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 792 Bytes

CQLSH_COMMANDS.md

File metadata and controls

28 lines (25 loc) · 792 Bytes

CQL and CQLsh commands

Once your containers are up and running, get into one of the nodes by running:

sudo docker exec -it scylla-node1 cqlsh

This will enter into the container node and get into the cqlsh space.

Once there, you can run some commands:

Describes all keyspaces that exist

DESC keyspaces

Describes a keyspace named catalog

DESC catalog

Describes a table mutant_data inside the catalog keyspace

DESC catalog.mutant_data

Queries all data inside a table called mutant_data from a keyspace named catalog

SELECT * FROM catalog.mutant_data;

And of course you can run basically any other CQL command.