Skip to content

Instantly share code, notes, and snippets.

@AlexeySoshin
Last active July 11, 2019 19:08
Show Gist options
  • Save AlexeySoshin/ec8f7d19dab1c6fc7477354d74d518d1 to your computer and use it in GitHub Desktop.
Save AlexeySoshin/ec8f7d19dab1c6fc7477354d74d518d1 to your computer and use it in GitHub Desktop.
public SQLConnection queryWithParams(String sql,
JsonArray params,
Handler<AsyncResult<ResultSet>> resultHandler) {
new JDBCQuery(vertx,
helper,
options,
ctx,
sql,
params).execute(conn,
statementsQueue,
resultHandler);
return this;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment