code: protected void execute(Connection tx, String query, ExecuteFunction function) {
          try (Query q = new Query(objectMapper, tx, query)) {
              function.apply(q);
          } catch (SQLException ex) {
              throw new ApplicationException(ApplicationException.Code.BACKEND_ERROR, ex);
          }
      }
docs: Execute a statement with no expected return value within a given transaction.
  
  @param tx       The transactional {@link Connection} to use.
  @param query    The query string to prepare.
  @param function The functional callback to pass a {@link Query} to.