     table
     key
     record-or-key-value
-    {:keys [row-generator] :as opts}]
+    opts]
    (session/execute
     session
     (select-statement table key record-or-key-value

    opts)))

(defn select-buffered
  "select records"

  ([^Session session table key record-or-key-value]
   (select session table key record-or-key-value {}))

    table
    key
    record-or-key-value
    {:keys [buffer-size] :as opts}]
   (let [strm (session/execute-buffered
               session
               (select-statement
                table key record-or-key-value
                (dissoc opts :columns :where :only-if :order-by :limit))
               (-> opts
                   (dissoc :buffer-size)))]
     (if buffer-size
       (s/buffer buffer-size strm)
       strm))))

(defn select-one
  "select a single record"
