Q

ldbc.query.builder.statement.Where.Q
case class Q[P <: Product, C, D](table: Table[P], statement: String, columns: C, params: List[Dynamic], decoder: Decoder[D]) extends Where[P], Query[D], QueryProvider[D]

A model for constructing read-only query WHERE statements in MySQL.

Type parameters

C

Union type of column

D

Scala types to be converted by Decoder

P

Base trait for all products

Value parameters

columns

Union-type column list

decoder

Decoder for converting SQL data to Scala data

params

A list of Traits that generate values from Parameter, allowing PreparedStatement to be set to a value by index

statement

SQL statement string

table

Trait for generating SQL table information.

Attributes

Source
Where.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait QueryProvider[D]
trait Query[D]
trait SQL
trait Where[P]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

override type Self = Q[P, C, D]

Attributes

Source
Where.scala

Value members

Concrete methods

override def ++(sql: SQL): SQL

Attributes

Definition Classes
SQL
Source
Where.scala
def groupBy[A](func: C => Column[A]): GroupBy[P, C, D]

Attributes

Source
Where.scala

Inherited methods

def &&(func: (Table[P]) => Expression): Self

Attributes

Inherited from:
Where
Source
Where.scala
def and(func: (Table[P]) => Expression): Self

Attributes

Inherited from:
Where
Source
Where.scala
def limit(length: Long): (Encoder[Long]) ?=> Q[D]

Attributes

Inherited from:
QueryProvider
Source
Limit.scala
def or(func: (Table[P]) => Expression): Self

Attributes

Inherited from:
Where
Source
Where.scala
def orderBy[A <: Order[_] | (Order[_] *: NonEmptyTuple) | Column[_]](func: (Table[P]) => A): OrderBy[D]

A method for setting the ORDER BY condition in a statement.

A method for setting the ORDER BY condition in a statement.

Attributes

Inherited from:
OrderByProvider (hidden)
Source
OrderBy.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def xor(func: (Table[P]) => Expression): Self

Attributes

Inherited from:
Where
Source
Where.scala
def ||(func: (Table[P]) => Expression): Self

Attributes

Inherited from:
Where
Source
Where.scala