java/webservice/src/main/java/be/bosa/dt/best/webservice/queries/Sql.java
/**
	 * Build the SQL select string
	 * 
	 * @return 
	 */
Build the SQL select string

@return
Build the SQL select string @return
public String build() {
		String str = String.join(" ", "SELECT", select, "FROM", from, alias, join);
		if (!where.isEmpty()) {
			str = String.join(" ", str, "WHERE", where);
		}
		if (!order.isEmpty()) {
			str = String.join(" ", str, "ORDER BY", order, "LIMIT", limit);
		}
		Log.debug(str);
		return str;
	}
public String build ( ) { String str = String . join ( " " , "SELECT" , select , "FROM" , from , alias , join ) ; if ( ! where . isEmpty ( ) ) { str = String . join ( " " , str , "WHERE" , where ) ; } if ( ! order . isEmpty ( ) ) { str = String . join ( " " , str , "ORDER BY" , order , "LIMIT" , limit ) ; } Log . debug ( str ) ; return str ; }
Build the SQL select string
Build the SQL select string