1.2.0 permalink Arrow_down_16x16

drop-table

clojure.contrib.sql

  • (drop-table name)
Drops a table on the open database connection given its name, a string
or keyword

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:119 top

(defn drop-table
  "Drops a table on the open database connection given its name, a string
  or keyword"
  [name]
  (do-commands
   (format "DROP TABLE %s" (as-str name))))
Vars in clojure.contrib.sql/drop-table: do-commands defn format name
Used in 0 other vars

Comments top

No comments for drop-table. Log in to add a comment.