These folder contains examples on how to use some features of the Node.js Driver for Apache Cassandra.
You should also visit the Documentation and FAQ.
- Basic
- Metadata
- User-defined types (UDT)
- Tuples
- Query tracing
Each example is generally structured in a way were the Client
is connected at the beginning and shutdown at the end.
While this is suitable for example single script purposes, you should reuse a single Client
instance and
only call client.shutdown() once in your application's lifetime.
If you have any doubt regarding these examples, feel free to post your question in the mailing list.