ScyllaDB
backend store forlevelup
leveragingabstract-leveldown
Specialized leveldown backend for use with skyring. Not all level down features are supported. Namely, iterator / stream ranges and explicit buffer casting - all keys and values are returned as strings
const levelup = require('levelup')
const scylladown = require('@skyring/scylladown')
const opts = {
contactPoints: ['192.0.0.1:9042', '192.0.0.2:9042', '192.0.0.3:9042']
, keyspace: 'customkeyspace'
}
const db = levelup(scylladown('table_name'), opts)
contactPoints
- Array of scylla nodeskeyspace
- The scylla keyspace to operate intreplicas
- The number of keyspace replicas to create