                      (allow-filtering true))]
      (is (= (set (range 6 10))
             (->> res
-                (map :age)
-                set))))
+                 (map :age)
+                 set))))
    (truncate :users)))
 
 (deftest index-exact-match

           {:post_id "post1"}
           {:post_id "post2"}]
          (select :user_posts
           (columns :post_id)
           (where :username "Alex")
           (order-by [:post_id]))))

   (is (= [{:post_id "post2"}
           {:post_id "post1"}
           {:post_id "post0"}]
          (select :user_posts
           (columns :post_id)
           (where :username "Alex")
           (order-by [:post_id :desc]))))))

(deftest select-range-query-test
  (create-table :tv_series

   (insert :users {:name "Sam"    :city "San Francisco" :age (int 21)})

   (let [users (select :users
                       (where :name [:in ["Alex" "Robert"]]))]
     (is (= "Munich" (get-in users [0 :city])))
     (is (= "Berlin" (get-in users [1 :city]))))))

