case class SQLQuery(parts: List[SQLPart]) extends SQLPart with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SQLQuery
- Serializable
- Product
- Equals
- SQLPart
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def arg(values: Json*): SQLQuery
- lazy val args: List[Json]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bind(bindings: (String, Json)*): SQLQuery
- lazy val bindMap: Map[String, Json]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fillPlaceholder(name: String, values: Json*): SQLQuery
Generally, only a single value is supplied to replace a named value.
Generally, only a single value is supplied to replace a named value. However, if multiple values are provided, it converts this into a multi-argument replacement.
- name
the name of the placeholder variable
- values
the values to replace it with
- def fillPlaceholder(values: Json*): SQLQuery
- lazy val flatParts: List[SQLPart]
- def fragment(sql: String): SQLQuery
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- lazy val hasUnboundPositional: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val missingBinds: List[String]
- 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 parts: List[SQLPart]
- def placeholder(name: String): SQLQuery
- def placeholder(): SQLQuery
- def populate[Doc <: Document[Doc], Model <: DocumentModel[Doc]](ps: PreparedStatement, transaction: SQLStoreTransaction[Doc, Model]): Unit
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- lazy val query: String
- lazy val queryFull: String
- def replacePlaceholder(name: String, part: SQLPart): SQLQuery
Replaces a placeholder value with a SQLPart.
Replaces a placeholder value with a SQLPart. This is useful for templating when SQL needs to be generated at runtime to populate sections of SQL.
- name
the name of the placeholder variable
- part
the part to replace it with
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def values(bindings: (String, Any)*): SQLQuery
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withParts(parts: SQLPart*): SQLQuery
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)