Packages

case class SqlSelect(context: Context, withs: List[WithRef], table: TableExpr, cols: List[SqlColumn], joins: List[SqlJoin], wheres: List[Predicate], orders: List[OrderSelection[_]], offset: Option[Int], limit: Option[Int], distinct: List[SqlColumn], oneToOne: Boolean, predicate: Boolean) extends SqlQuery with Product with Serializable

Representation of an SQL SELECT

Source
SqlMapping.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SqlSelect
  2. SqlQuery
  3. ColumnOwner
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SqlSelect(context: Context, withs: List[WithRef], table: TableExpr, cols: List[SqlColumn], joins: List[SqlJoin], wheres: List[Predicate], orders: List[OrderSelection[_]], offset: Option[Int], limit: Option[Int], distinct: List[SqlColumn], oneToOne: Boolean, predicate: Boolean)

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 addFilterOrderByOffsetLimit(filter: Option[(Predicate, List[SqlJoin])], orderBy: Option[(List[OrderSelection[_]], List[SqlJoin])], offset0: Option[Int], limit0: Option[Int], predIsOneToOne: Boolean, parentConstraints: List[List[(SqlColumn, SqlColumn)]]): Result[SqlSelect]

    Add WHERE, ORDER BY and LIMIT to this query

    Add WHERE, ORDER BY and LIMIT to this query

    Definition Classes
    SqlSelectSqlQuery
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asSelects: List[SqlSelect]

    Yields a collection of SqlSelects which when combined as a union are equivalent to this query

    Yields a collection of SqlSelects which when combined as a union are equivalent to this query

    Definition Classes
    SqlQuery
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def codecs: List[(Boolean, SqlMappingLike.Codec)]

    The codecs corresponding to the columns of this query

    The codecs corresponding to the columns of this query

    Definition Classes
    SqlSelectSqlQuery
  9. val cols: List[SqlColumn]

    The columns of this query

    The columns of this query

    Definition Classes
    SqlSelectSqlQuery
  10. def contains(other: ColumnOwner): Boolean
    Definition Classes
    SqlSelectColumnOwner
  11. val context: Context

    The context for this query

    The context for this query

    Definition Classes
    SqlSelectSqlQueryColumnOwner
  12. def debugShow: String
    Definition Classes
    ColumnOwner
  13. def directlyOwns(col: SqlColumn): Boolean
    Definition Classes
    SqlSelectColumnOwner
  14. val distinct: List[SqlColumn]
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def findNamedOwner(col: SqlColumn): Option[TableExpr]
    Definition Classes
    SqlSelectColumnOwner
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def isDistinct: Boolean
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isSameOwner(other: ColumnOwner): Boolean
    Definition Classes
    SqlSelectColumnOwner
  22. def isUnion: Boolean

    Is this query an SQL Union

    Is this query an SQL Union

    Definition Classes
    SqlSelectSqlQuery
  23. val joins: List[SqlJoin]
  24. val limit: Option[Int]
  25. def nameOption: Option[String]

    The name, if any, of this ColumnOwner

    The name, if any, of this ColumnOwner

    Definition Classes
    ColumnOwner
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def needsCollation(col: SqlColumn): Result[Boolean]

    Does the given column need collation?

  28. def nest(parentContext: Context, extraCols: List[SqlColumn], oneToOne: Boolean, lateral: Boolean): Result[SqlSelect]

    Nest this query as a subobject in the enclosing parentContext

    Nest this query as a subobject in the enclosing parentContext

    Definition Classes
    SqlSelectSqlQuery
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. val offset: Option[Int]
  32. val oneToOne: Boolean

    Does one row of this query correspond to exactly one complete GraphQL value

    Does one row of this query correspond to exactly one complete GraphQL value

    Definition Classes
    SqlSelectSqlQuery
  33. lazy val orderCols: Result[List[SqlColumn]]

    The columns, if any, on which this select is ordered

  34. val orders: List[OrderSelection[_]]
  35. def owns(col: SqlColumn): Boolean
    Definition Classes
    SqlSelectColumnOwner
  36. val predicate: Boolean
  37. def productElementNames: Iterator[String]
    Definition Classes
    Product
  38. def subqueryToWithQuery: SqlSelect

    If the from clause of this query is a subquery, convert it to a common table expression

  39. def subst(from: TableExpr, to: TableExpr): SqlSelect

    Yields a copy of this select with all occurences of from replaced by to

    Yields a copy of this select with all occurences of from replaced by to

    Definition Classes
    SqlSelectSqlQuery
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def syntheticName(suffix: String): String

    Yield a name for this select derived from any names associated with its from clauses or joins

  42. val table: TableExpr
  43. def toFragment: Aliased[SqlMappingLike.Fragment]

    Render this SqlSelect as a Fragment

    Render this SqlSelect as a Fragment

    Definition Classes
    SqlSelectSqlQuery
  44. def toSubquery(name: String, lateral: Boolean): SqlSelect

    Yields an equivalent query encapsulating this query as a subquery

    Yields an equivalent query encapsulating this query as a subquery

    Definition Classes
    SqlSelectSqlQuery
  45. def toWithQuery(name: String, refName: Option[String]): SqlSelect

    Yields an equivalent query encapsulating this query as a common table expression

    Yields an equivalent query encapsulating this query as a common table expression

    Definition Classes
    SqlSelectSqlQuery
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. val wheres: List[Predicate]
  50. def withContext(context: Context, extraCols: List[SqlColumn], extraJoins: List[SqlJoin]): SqlSelect

    This query in the given context

    This query in the given context

    Definition Classes
    SqlSelectSqlQuery
  51. val withs: List[WithRef]

Inherited from SqlQuery

Inherited from ColumnOwner

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped