简体   繁体   中英

Which module to use for connecting to Cassandra using NodeJs?

I wish to integrate Cassandra with Node, column families in my schema leverages composite key & column support extensively. When I browsed NPM I could find many Cassandra connectors viz. (below list order by search results) cassandra connect-cassandra cassandra-orm cassandra-client cassandra-helenus-api

Which of these support composites? I do not see detailed documentation of these, any pointers?

We use helenus in production. It supports both Thrift and CQL. There are good examples of how to use the library (including composites) in the project's test directory.

The preferred Node.js driver for Apache Cassandra is now datastax/nodejs-driver . It is based on the node-cassandra-cql project from Jorge Bay and will be maintained by DataStax going forward, so that's what should be used for new projects.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM