We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a832629 + 16a509e commit b52665cCopy full SHA for b52665c
src/main/scala/io/vertx/asyncsql/database/ConnectionHandler.scala
@@ -58,9 +58,9 @@ trait ConnectionHandler extends ScalaBusMod {
58
}
59
60
61
- protected def select(json: JsonObject): AsyncReply = AsyncReply(pool.withConnection({ c: Connection =>
+ protected def select(json: JsonObject): AsyncReply = AsyncReply {
62
sendWithPool(rawCommand(selectCommand(json)))
63
- }))
+ }
64
65
protected def insertCommand(json: JsonObject): String = {
66
val table = json.getString("table")
0 commit comments