class SQLServerQueryBuilder extends QueryBuilder
- Alphabetic
- By Inheritance
- SQLServerQueryBuilder
- QueryBuilder
- InterpolationContext
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SQLServerQueryBuilder(tree: Node, state: CompilerState)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (SQLServerQueryBuilder, B)
- Implicit
- This member is added by an implicit conversion from SQLServerQueryBuilder toArrowAssoc[SQLServerQueryBuilder] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val alwaysAliasSubqueries: Boolean
- Attributes
- protected
- Definition Classes
- QueryBuilder
- val alwaysAliasTables: Boolean
Alias every table in a FROM clause and qualify the column references, also in single-table SELECTs.
Alias every table in a FROM clause and qualify the column references, also in single-table SELECTs. SQLite needs this because it reads an unknown, unqualified double-quoted column name as a string literal instead of failing.
- Attributes
- protected
- Definition Classes
- QueryBuilder
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val b: SQLBuilder
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def buildComprehension(c: Base): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def buildDelete(): Result
- Definition Classes
- QueryBuilder
- def buildDeleteFrom(tableName: String): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def buildFetchOffsetClause(fetch: Option[Node], offset: Option[Node]): Unit
- Attributes
- protected
- Definition Classes
- SQLServerQueryBuilder → QueryBuilder
- def buildFrom(n: Node, alias: Option[TermSymbol]): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- final def buildFrom(n: Node, alias: Option[TermSymbol], skipParens: Boolean): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def buildFromClause(from: Seq[(TermSymbol, Node)]): Unit
- Attributes
- protected
- Definition Classes
- SQLServerQueryBuilder → QueryBuilder
- def buildGroupByClause(groupBy: Option[Node]): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def buildGroupByColumn(by: Node): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def buildHavingClause(having: Option[Node]): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def buildJoin(j: Join): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def buildLockingClause(strength: Option[LockStrength]): Unit
- Attributes
- protected
- Definition Classes
- SQLServerQueryBuilder → QueryBuilder
- def buildOrderByClause(order: ConstArray[(Node, Ordering)]): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def buildOrdering(n: Node, o: Ordering): Unit
- Attributes
- protected
- Definition Classes
- SQLServerQueryBuilder → QueryBuilder
- final def buildSelect(): Result
- Definition Classes
- QueryBuilder
- def buildSelectClause(c: Base): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def buildSelectModifiers(c: Base): Unit
- Attributes
- protected
- Definition Classes
- SQLServerQueryBuilder → QueryBuilder
- def buildSelectPart(n: Node): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def buildUpdate(): Result
- Definition Classes
- QueryBuilder
- def buildWhereClause(where: Option[Node]): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- final def building(p: SQLServerProfile.StatementPart)(f: => Unit): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- Annotations
- @inline()
- def castNullLiteralInSelect(ti: JdbcType[_]): Boolean
Whether a NULL literal of type
tithat is a column of a select list is written ascast(null as <type>).Whether a NULL literal of type
tithat is a column of a select list is written ascast(null as <type>). Without the cast, a database has to guess the type of the column, e.g. in a subquery or a union of NULLs, and PostgreSQL and HSQLDB guess one that does not match the other side of a union or the column's use in an outer query. A bind variable is never cast.The cast's type is the default SQL type of
ti, not the type of the other sides of a union. A union of strings, times or most numbers takes the largest length or precision of its sides, so the cast can only widen the result. A union of DECIMALs adds up the largest scale and the largest number of integer digits of its sides, so where that sum is capped (38 digits on SQL Server, 31 on DB2), the cast'sDECIMAL(21,2)can cost a high-scale column its scale or integer digits. Those profiles leave a DECIMAL NULL untyped.A
Stringmapped onto a column of a custom database type, such as a PostgreSQL enum, has the SQL type VARCHAR, so its NULL is cast to VARCHAR and does not match the column in a union. Such a type needs asqlTypeNamethat names the real type.- Attributes
- protected
- Definition Classes
- SQLServerQueryBuilder → QueryBuilder
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val concatOperator: Some[String]
- Attributes
- protected
- Definition Classes
- SQLServerQueryBuilder → QueryBuilder
- var currentPart: SQLServerProfile.StatementPart
- Attributes
- protected
- Definition Classes
- QueryBuilder
- var currentUniqueFrom: Option[TermSymbol]
- Attributes
- protected
- Definition Classes
- QueryBuilder
- var dmlTargetTableName: Option[String]
The name of the target table of the UPDATE or DELETE statement being built.
The name of the target table of the UPDATE or DELETE statement being built. A subquery that reads the same table must alias it, so that its columns don't resolve to the target table.
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def ensuring(cond: (SQLServerQueryBuilder) => Boolean, msg: => Any): SQLServerQueryBuilder
- Implicit
- This member is added by an implicit conversion from SQLServerQueryBuilder toEnsuring[SQLServerQueryBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (SQLServerQueryBuilder) => Boolean): SQLServerQueryBuilder
- Implicit
- This member is added by an implicit conversion from SQLServerQueryBuilder toEnsuring[SQLServerQueryBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): SQLServerQueryBuilder
- Implicit
- This member is added by an implicit conversion from SQLServerQueryBuilder toEnsuring[SQLServerQueryBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): SQLServerQueryBuilder
- Implicit
- This member is added by an implicit conversion from SQLServerQueryBuilder toEnsuring[SQLServerQueryBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def expr(n: Node): Unit
- Definition Classes
- SQLServerQueryBuilder → QueryBuilder → InterpolationContext
- final def expr(n: Node, skipParens: Boolean): Unit
- Definition Classes
- QueryBuilder
- def flattenJoins(s: TermSymbol, n: Node): (Seq[(TermSymbol, Node)], Seq[Node])
- Attributes
- protected
- Definition Classes
- QueryBuilder
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val hasPiFunction: Boolean
- Attributes
- protected
- Definition Classes
- QueryBuilder
- val hasRadDegConversion: Boolean
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- implicit def interpolationContext: InterpolationContext
- Definition Classes
- QueryBuilder
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val joins: HashMap[TermSymbol, Join]
- Attributes
- protected
- Definition Classes
- QueryBuilder
- val maxFlatBooleanOperands: Int
The maximum number of operands of an
andororthat are rendered as one flat list.The maximum number of operands of an
andororthat are rendered as one flat list. Longer chains are split into a balanced tree of parenthesized groups, so that their nesting depth in the database's SQL parser stays logarithmic (e.g. SQLite limits the expression depth to 1000 and Derby's SQL compiler recurses over it).- Attributes
- protected
- Definition Classes
- QueryBuilder
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val parenthesizeNestedRHSJoin: Boolean
- Attributes
- protected
- Definition Classes
- QueryBuilder
- val pi: String
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def quoteIdentifier(s: String): String
- Definition Classes
- QueryBuilder → InterpolationContext
- val quotedJdbcFns: Option[Seq[JdbcFunction]]
- Attributes
- protected
- Definition Classes
- QueryBuilder
- def scanJoins(from: ConstArray[(TermSymbol, Node)]): Unit
- Attributes
- protected
- Definition Classes
- QueryBuilder
- final def skipParens: Boolean
- Definition Classes
- QueryBuilder → InterpolationContext
- def sqlBuilder: SQLBuilder
- Definition Classes
- QueryBuilder → InterpolationContext
- val state: CompilerState
- Definition Classes
- QueryBuilder
- val supportsCast: Boolean
- Attributes
- protected
- Definition Classes
- QueryBuilder
- val supportsLiteralGroupBy: Boolean
- Attributes
- protected
- Definition Classes
- QueryBuilder
- val supportsTuples: Boolean
- Attributes
- protected
- Definition Classes
- SQLServerQueryBuilder → QueryBuilder
- val symbolName: SymbolNamer
- Definition Classes
- QueryBuilder → InterpolationContext
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val tree: Node
- Definition Classes
- QueryBuilder
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def withSkipParens[U](b: Boolean)(f: => U): U
- Definition Classes
- QueryBuilder → InterpolationContext
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from SQLServerQueryBuilder toStringFormat[SQLServerQueryBuilder] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
- def →[B](y: B): (SQLServerQueryBuilder, B)
- Implicit
- This member is added by an implicit conversion from SQLServerQueryBuilder toArrowAssoc[SQLServerQueryBuilder] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...