Permalink
Browse files

disj! support table name with hyphen.

  • Loading branch information...
1 parent d7a5968 commit fd10b5a11524b5c1215d8905149ac8403ce82ed1 @Ruiyun committed Dec 13, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 project.clj
  2. +2 −2 src/clojureql/core.clj
View
@@ -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"]
@@ -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]

0 comments on commit fd10b5a

Please sign in to comment.