Packages

case class SqlSelect(context: Context, table: TableExpr, cols: List[ColumnRef], joins: List[SqlJoin], wheres: List[Where], orders: List[Order], limit: Option[Int], distinct: Boolean, aliases: List[String] = Nil, collate: Set[ColumnRef] = Set.empty[ColumnRef]) extends SqlQuery with Product with Serializable

Representation of an SQL SELECT

Linear Supertypes
Serializable, Product, Equals, SqlQuery, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SqlSelect
  2. Serializable
  3. Product
  4. Equals
  5. SqlQuery
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SqlSelect(context: Context, table: TableExpr, cols: List[ColumnRef], joins: List[SqlJoin], wheres: List[Where], orders: List[Order], limit: Option[Int], distinct: Boolean, aliases: List[String] = Nil, collate: Set[ColumnRef] = Set.empty[ColumnRef])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addColumns(extraCols: List[ColumnRef]): SqlSelect

    Add the given columns to this query

    Add the given columns to this query

    Definition Classes
    SqlSelectSqlQuery
  5. def addFilterOrderByLimit(pred: Option[Predicate], oss: Option[List[OrderSelection[_]]], limit: Option[Int], folQuery: Option[SqlSelect], aliasedMappings: AliasedMappings): Option[(SqlSelect, AliasedMappings)]

    Add WHERE, ORDER BY and LIMIT to this query

    Add WHERE, ORDER BY and LIMIT to this query

    Definition Classes
    SqlSelectSqlQuery
  6. val aliases: List[String]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. val collate: Set[ColumnRef]
  10. val cols: List[ColumnRef]
  11. def colsOf(table: TableExpr): List[ColumnRef]

    The columns of the given table expression that are referred to by this SELECT

  12. val context: Context

    The context for this query

    The context for this query

    Definition Classes
    SqlSelectSqlQuery
  13. val distinct: Boolean
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def fetch: F[Table]

    Execute this query in F

    Execute this query in F

    Definition Classes
    SqlSelectSqlQuery
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def index(col: ColumnRef): Int

    The index of the given unaliased column in the result set

    The index of the given unaliased column in the result set

    Definition Classes
    SqlSelectSqlQuery
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. val joins: List[SqlJoin]
  20. val limit: Option[Int]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def nest(parentContext: Context, fieldName: String, resultName: String, extraCols: List[ColumnRef], extraJoins: List[SqlJoin], aliasedMappings: AliasedMappings): (SqlSelect, AliasedMappings)

    Nest this query as a subobject in the enclosing parentContext

    Nest this query as a subobject in the enclosing parentContext

    Definition Classes
    SqlSelectSqlQuery
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. val orders: List[Order]
  26. def plural: Boolean

    Does the result of this query contain lists of subobject?

  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. val table: TableExpr
  30. def toFragment: SqlMapping.Fragment
    Definition Classes
    SqlSelectSqlQuery
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. val wheres: List[Where]
  35. def withContext(context: Context): SqlSelect

    This query in the given context

    This query in the given context

    Definition Classes
    SqlSelectSqlQuery

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SqlQuery

Inherited from AnyRef

Inherited from Any

Ungrouped