Skip to content

Commit

Permalink
disj! support table name with hyphen.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruiyun committed Dec 13, 2012
1 parent d7a5968 commit fd10b5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project.clj
@@ -1,4 +1,4 @@
(defproject ruiyun/clojureql "1.0.4a"
(defproject ruiyun/clojureql "1.0.4c"
:description "Superior SQL integration for Clojure"
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/core.incubator "0.1.1"]
Expand Down
4 changes: 2 additions & 2 deletions src/clojureql/core.clj
Expand Up @@ -329,8 +329,8 @@
(with-meta this (meta return))))

(disj! [this predicate]
(with-cnx cnx
(delete-rows tname (into [(str predicate)] (:env predicate))))
(with-cnx cnx
(delete-rows (nskeyword tname) (into [(str predicate)] (:env predicate))))
this)

(update-in! [this pred record]
Expand Down

0 comments on commit fd10b5a

Please sign in to comment.