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

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() @HotSpotIntrinsicCandidate()
  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 findNamedOwner(col: SqlColumn): Option[TableExpr]
    Definition Classes
    SqlSelectColumnOwner
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def isDistinct: Boolean
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isSameOwner(other: ColumnOwner): Boolean
    Definition Classes
    SqlSelectColumnOwner
  21. def isUnion: Boolean

    Is this query an SQL Union

    Is this query an SQL Union

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

    The name, if any, of this ColumnOwner

    The name, if any, of this ColumnOwner

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

    Does the given column need collation?

  27. 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
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. val offset: Option[Int]
  31. 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
  32. lazy val orderCols: Result[List[SqlColumn]]

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

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

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

  38. 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
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def syntheticName(suffix: String): String

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

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

    Render this SqlSelect as a Fragment

    Render this SqlSelect as a Fragment

    Definition Classes
    SqlSelectSqlQuery
  43. 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
  44. 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
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. val wheres: List[Predicate]
  49. 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
  50. val withs: List[WithRef]

Deprecated Value Members

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

Inherited from SqlQuery

Inherited from ColumnOwner

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped