1.2.0 permalink Arrow_down_16x16

insert-records

clojure.contrib.sql

  • (insert-records table & records)
Inserts records into a table. records are maps from strings or
keywords (identifying columns) to values.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/sql.clj:150 top

(defn insert-records
  "Inserts records into a table. records are maps from strings or
  keywords (identifying columns) to values."
  [table & records]
  (doseq [record records]
    (insert-values table (keys record) (vals record))))
Vars in clojure.contrib.sql/insert-records: insert-values defn doseq keys vals
Used in 0 other vars

Comments top

No comments for insert-records. Log in to add a comment.