code: public Java8CompositeHandler withQueryDetection(String... pattern) {
          final Pattern[] ps = new Pattern[pattern.length];
  
          for (int i = 0; i < ps.length; i++) {
              ps[i] = Pattern.compile(pattern[i]);
          }
          
          return withQueryDetection(ps);
      }
docs: Returns handler that detects statement matching given pattern(s)
  as query.
  
  @param pattern the new pattern for query detection
  
  <pre>
  {@code
  import static acolyte.jdbc.AcolyteDSL.handleStatement;
  
  // Created handle will detect as query statements
  // either starting with 'SELECT ' or containing 'EXEC proc'.
  handleStatement.withQueryDetection("^SELECT ", "EXEC proc");
  }
  </pre>