This 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
- Mapper
- Metadata
- User-defined types (UDT)
- Tuples
- Query tracing
- Concurrent execution
Each example is generally structured in a way where 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() when exiting your application.
If you have any questions regarding these examples, feel free to post your questions in the mailing list.