SubQuerySQLBuilder

scalikejdbc.QueryDSLFeature.SubQuerySQLBuilder
trait SubQuerySQLBuilder[A] extends SQLBuilder[A]

Sub query builder

Attributes

Source
QueryDSLFeature.scala
Graph
Supertypes
trait SQLBuilder[A]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

Converts SQLBuilder to sub-query part sqls. e.g. val x = SubQuery.syntax("x").include(u, g) withSQL { select.from(select.from(User as u).leftJoin(Group as g).on(u.groupId, g.id).where.eq(u.groupId, 234).as(x)) }

Converts SQLBuilder to sub-query part sqls. e.g. val x = SubQuery.syntax("x").include(u, g) withSQL { select.from(select.from(User as u).leftJoin(Group as g).on(u.groupId, g.id).where.eq(u.groupId, 234).as(x)) }

Attributes

Source
QueryDSLFeature.scala

Inherited methods

def append(part: SQLSyntax): SQLBuilder[A]

Attributes

Inherited from:
SQLBuilder
Source
QueryDSLFeature.scala
def sql: SQLSyntax

Attributes

Inherited from:
SQLBuilder
Source
QueryDSLFeature.scala
def toSQL: SQL[A, NoExtractor]

Attributes

Inherited from:
SQLBuilder
Source
QueryDSLFeature.scala

Attributes

Inherited from:
SQLBuilder
Source
QueryDSLFeature.scala