/** * @return a CompileContext that this SquidDatabase should use when compiling SQL statements like {@link Query}, * {@link Insert}, {@link Update}, and {@link Delete}. If necessary, users can customize the returned * CompileContext object by overriding {@link #buildCompileContext(CompileContext.Builder)} to e.g. specify a * different implementation of {@link com.yahoo.squidb.sql.ArgumentResolver} to use. */ public final CompileContext getCompileContext() { CompileContext.Builder builder = new CompileContext.Builder(getSqliteVersion()); buildCompileContext(builder); return builder.build(); }
/** * @return a CompileContext that this SquidDatabase should use when compiling SQL statements like {@link Query}, * {@link Insert}, {@link Update}, and {@link Delete}. If necessary, users can customize the returned * CompileContext object by overriding {@link #buildCompileContext(CompileContext.Builder)} to e.g. specify a * different implementation of {@link com.yahoo.squidb.sql.ArgumentResolver} to use. */ public final CompileContext getCompileContext() { CompileContext.Builder builder = new CompileContext.Builder(getSqliteVersion()); buildCompileContext(builder); return builder.build(); }