             [clj-time.core                       :refer [seconds ago before? date-time] :as tc]
 
             [clojurewerkz.cassaforte.cql         :refer :all]
+            [clojurewerkz.cassaforte.query       :as query]
             [clojure.test                        :refer :all]))
 
 


(deftest test-insert-with-atomic-batch-without-prepared-statements
  (client/execute *session*
                  (unlogged-batch
                   (queries
                    (insert :users
                                  {:name "Alex" :city "Munich" :age (int 19)})
                    (insert :users
                                  {:name "Fritz" :city "Hamburg" :age (int 28)}))))
  (is (= [{:name "Alex" :city "Munich" :age (int 19)}
          {:name "Fritz" :city "Hamburg" :age (int 28)}]

(deftest test-insert-with-forced-prepared-statements
  (let [r        {:name "Alex" :city "Munich" :age (int 19)}
        prepared (client/prepare *session*
                                 (query/insert :users
                                               {:name ?
                                                :city ?
                                                :age  ?}))]
