code with select/insert function of cassandra and same methods for mongo, couchbase and couchDB, the code is without console.log