Class SelectFromBuilder

java.lang.Object
io.github.torand.fastersql.statement.SelectFromBuilder

public class SelectFromBuilder extends Object
Builder of SELECT statements with a FROM clause.
  • Method Details

    • distinct

      public SelectFromBuilder distinct()
      Specifies that statement should return unique rows.
      Returns:
      the modified statement.
    • from

      public SelectStatement from(Relation firstRelation, Relation... moreRelations)
      Creates a SELECT statement with specified FROM clauses (relations).
      Parameters:
      firstRelation - the first relation.
      moreRelations - the other relations, if any.
      Returns:
      the statement.