/** Removes the carets from the SQL string. Useful if you want to run * a test once at a conformance level where it fails, then run it again * at a conformance level where it succeeds. */ public Sql sansCarets() { return new Sql(sql.replace("^", ""), expression); } }
/** Removes the carets from the SQL string. Useful if you want to run * a test once at a conformance level where it fails, then run it again * at a conformance level where it succeeds. */ public Sql sansCarets() { return new Sql(sql.replace("^", ""), expression); } }
protected Sql sql(String sql) { return new Sql(sql); }
/** Flags that this is an expression, not a whole query. */ public Sql expression() { return expression ? this : new Sql(sql, true); }
protected Sql sql(String sql) { return new Sql(sql); }
/** Flags that this is an expression, not a whole query. */ public Sql expression() { return expression ? this : new Sql(sql, true); }