Reputation: 53
I have installed Cassandra nodeJS module using
$ npm install cassandra-driver
My project has the following structure: project structure
Given this structure how can I use terminal and Cassandra 'cqlsh' to perform tasks connected with database management?
Upvotes: 3
Views: 150
Reputation: 7365
The node cassandra-driver is a client driver meant for interacting with Cassandra programmatically. It does not provide cqlsh.
cqlsh is the command line utility that gets installed with Cassandra. To use it you can visit a server where it is installed, or get a copy locally by downloading and unpacking a release tarball (get a version matching the server to which you intend to connect).
Alternatively, there are projects around that provide ways of getting cqlsh without the rest (although these are maybe not widely supported by the community).
Upvotes: 3