    (select-one session table key record-or-key-value {}))
 
   ([^Session session table key record-or-key-value opts]
-   (d/chain (select session table key record-or-key-value (merge opts {:limit 1}))
-            first)))
+   (d/chain
+    (select session table key record-or-key-value (merge opts {:limit 1}))
+    first)))
 
 (defn insert-statement
   "returns a Hayt insert statement"

   (d/chain
    (session/execute
     session
     (delete-statement table key record-or-key-value opts))
    first)))

    {:keys [row-generator] :as opts}]
   (session/execute-buffered
    session
    (select-statement table key record-or-key-value
                      (dissoc opts :columns :where :only-if :order-by :limit))
    opts)))

(defn select-one
  "select a single record"
