       this))
 
   (setup [this]
-    (let [session (:session this)
-          use-query (alia/prepare "USE :keyspace")]
+    (let [session (:session this)]
       (check-session session "Cassandra")
 
       (let [keyspace-config (:keyspace (:options this))]

                               (:name keyspace-config)
                               (hayt/with (:details keyspace-config))))

        (assoc this :keyspace (:name keyspace-config))))))


(defn make-cassandra-client

(ns hellhound.components.cassandra
  "This namespace provides the necessary means to communicate with
  database."
  (:require
   [clojure.spec.alpha             :as spec]
   [environ.core                   :as environ]
   [qbits.alia                     :as alia]
   [qbits.hayt                     :as hayt]
   ;; Internals
   [hellhound.components.protocols :as protocols]
   [hellhound.logger.core          :as logger]
   [hellhound.core                 :as hellhound]))


(spec/def ::cassanda-configuration
  (spec/keys :req [::connection ::keyspace]))

(defn cassandra-config
  []
  (:cassandra (:db (hellhound/application-config))))

(defn- connect
  [config]
  (let [cluster (alia/cluster (:connecttion config))]
    (alia/connect cluster)))

(defn- check-session
  [session name]
