The DataStax Node.js Driver for Apache Cassandra™ is a modern, feature-rich and highly tunable Node.js client library for Apache Cassandra and DSE using exclusively Cassandra’s binary protocol and Cassandra Query Language (CQL).
In this scenario, you will:
- Connect to an Apache Cassandra™ instance with the DataStax Node.js driver
- Use the driver to execute CQL statements against Apache Cassandra™ that do the following:
- Insert a user into a table
- Select that user back out
- Update the user's email
- Delete the user from the table
- Process CQL query results programmatically
Congratulations! You now have the basic knowledge of using the DataStax Node.js driver for Apache Cassandra™.
Get your hands on the DataStax Drivers at DataStax Downloads
Was this helpful? Please give this scenario a rating (click on the stars above).
Have questions or more feedback? Send us a message.
Want a free 5 GB Cassandra database in the cloud to continue experimenting? Sign up and launch your database with a few clicks at astra.datastax.com!
Try it out: DataStax Node.js Driver for Apache Cassandra™
Start the Node.js REPL
Interact with Cassandra in the Node.js using the DataStax Node.js Driver for Apache Cassandra. In this scenario, you will walk through using CRUD operations against your instance through the Node.js Driver.
We will make this easy by running our commands from the Node.js REPL.
Wait for Cassandra to finish starting up, this shouldn't take long! When it is finished, start the REPL: