This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-01
Channels
- # beginners (117)
- # boot (8)
- # cider (22)
- # clara (3)
- # clojure (79)
- # clojure-italy (3)
- # clojure-spec (34)
- # clojure-uk (34)
- # clojurescript (74)
- # cursive (7)
- # datascript (5)
- # datomic (28)
- # defnpodcast (1)
- # dirac (9)
- # docker (25)
- # duct (1)
- # emacs (14)
- # fulcro (67)
- # graphql (1)
- # hoplon (15)
- # jobs (4)
- # juxt (6)
- # off-topic (76)
- # parinfer (3)
- # re-frame (25)
- # reagent (4)
- # rum (6)
- # shadow-cljs (1)
- # spacemacs (30)
- # sql (15)
- # unrepl (36)
- # yada (1)
@jisaacs46 That's because functions return the value of their last expression -- drop-tables
will return the second string.
You would see that by running this code in the REPL: (drop-tables)
I think you want something like
note that now drop-tables returns a vector of statements
does that help @jisaacs46 ?
java.jdbc
only supports positional parameters SELECT * FROM pay WHERE pay_start_dt = ? OR pay_end_dt = ?
and you'd specify the actual date twice in the parameter list.
Ok, I’ll just do that, thanks @seancorfield
@josmith2016 Yes. Did you try it?