Cassandra Repository
Installation
$ npm install --save cassandra-repository
Usage
const CassandraRepository = ; { supercassandra modelName; } // or if you dont need custom functionality const repo = cassandra modelName;
Getting Started
'use strict'; const Cassandra = ;const CassandraRepository = ; const cassandra = Cassandra; const modelName = 'Cats'; // configure a schemaconst schema = fields: _id: 'text' name: 'text' key: '_id'; let cassandraRepo; // json objectconst cat = name : 'Fido' ; cassandra;
License
MIT © Ben Lugavere