app/src/main/java/db/juhaku/juhakudb/filter/QueryProcessor.java
/**
     * Create select statement for the root of query.
     *
     * @param root {@link Root} of query.
     * @param sql Instance of {@link StringBuilder} containing current sql.
     *
     * @since 1.2.0
     *
     * @hide
     */
Create select statement for the root of query.
@param root  Root of query.
@param sql Instance of  StringBuilder containing current sql.



@hide
Create select statement for the root of query . @param root Root of query . @param sql Instance of StringBuilder containing current sql . @hide
private void createSelect(Root<?> root, StringBuilder sql) {
        Class<?> model = root.getModel();
        sql.append("SELECT ");
        sql.append(generateSelectForModel(model, Alias.forModel(model)));
        alterSelect(root, sql);
        sql.append(" FROM ").append(resolveName(model)).append(" ").append(Alias.forModel(model)).append(" ");
    }
private void createSelect ( Root < ? > root , StringBuilder sql ) { Class < ? > model = root . getModel ( ) ; sql . append ( "SELECT " ) ; sql . append ( generateSelectForModel ( model , Alias . forModel ( model ) ) ) ; alterSelect ( root , sql ) ; sql . append ( " FROM " ) . append ( resolveName ( model ) ) . append ( " " ) . append ( Alias . forModel ( model ) ) . append ( " " ) ; }
Create select statement for the root of query.
Create select statement for the root of query .