1.0.3 • Published 8 years ago

cassandra-driver-promise v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago
cassandra-driver-promise

A library to wrap around the cassandra driver to provide a promise based API. Also, can be used by generator functions.

Example
let Cassandra = require('cassandra-driver-promise'),
    client = new Cassandra({ contactPoints: ['localhost'], keyspace: 'TestKS' })

function *testExec() {
    yield client.execute('SELECT * FROM TestCF WHERE name = ?', ['Eugene'])
}

Only Execute is implemented at the moment. I will add more as I need for my projects but I am gladly accepting PR's to finish the library.