8000 Support multi-row inserts · alaisi/postgres.async@011bd6b · GitHub
[go: up one dir, main page]

Skip to content

Commit 011bd6b

Browse files
committed
Support multi-row inserts
1 parent 19f3b0e commit 011bd6b

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

project.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
:dependencies [[org.clojure/clojure "1.6.0"]
77
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
88
[com.github.alaisi.pgasync/postgres-async-driver "0.2"]]
9+
:global-vars {*warn-on-reflection* true}
910
:target-path "target/%s")

src/postgres/async.clj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
QueryExecutor TransactionExecutor Transaction]
55
[com.github.pgasync.impl.conversion DataConverter]))
66

7-
(set! *warn-on-reflection* true)
8-
97
(defmulti from-pg-value (fn [oid value] oid))
108
(defprotocol IPgParameter
119
(to-pg-value [value]))

src/postgres/async/impl.clj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
[com.github.pgasync ResultSet]
66
[com.github.pgasync.impl PgRow]))
77

8-
(set! *warn-on-reflection* true)
9-
108
(defmacro defasync [name args]
119
`(defn ~name [~@args]
1210
(let [c# (chan 1)]

0 commit comments

Comments
 (0)
0