ldbc.statement

package ldbc.statement

Members list

Type members

Classlikes

trait AbstractTable[T]

A trait for building a table model.

A trait for building a table model.

Attributes

Companion
object
Source
AbstractTable.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Opt[T]
object AbstractTable

Attributes

Companion
trait
Source
AbstractTable.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Column[A]

Trait for representing SQL Column

Trait for representing SQL Column

Type parameters

A

Scala types that match SQL DataType

Attributes

Companion
object
Source
Column.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Pure[A]
Self type
Column[A]
object Column extends TwiddleSyntax[Column]

Attributes

Companion
trait
Source
Column.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Column.type
trait Command extends SQL

Trait represents a command in MySQL.

Trait represents a command in MySQL.

Attributes

Companion
object
Source
Command.scala
Supertypes
trait SQL
class Object
trait Matchable
class Any
Known subtypes
class Pure
class Delete[A]
trait Insert[A]
class Impl[A]
class Values[A]
class C
trait Update[A]
class C[A]
Show all
object Command

Attributes

Companion
trait
Source
Command.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Command.type
case class Delete[A](table: A, statement: String, params: List[Dynamic]) extends Command, CommandProvider

A model for constructing DELETE statements in MySQL.

A model for constructing DELETE statements in MySQL.

Type parameters

A

Type representing Table

Value parameters

params

List of parameters

statement

SQL statement string

table

Trait for generating SQL table information.

Attributes

Source
Delete.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Command
trait SQL
class Object
trait Matchable
class Any
Show all
sealed trait Expression

Trait for the syntax of expressions available in MySQL.

Trait for the syntax of expressions available in MySQL.

SEE: https://dev.mysql.com/doc/refman/8.0/en/expressions.html

Attributes

Companion
object
Source
Expression.scala
Supertypes
class Object
trait Matchable
class Any
object Expression

Attributes

Companion
trait
Source
Expression.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Expression.type
case class GroupBy[A, B](table: A, columns: Column[B], statement: String, params: List[Dynamic]) extends Query[A, B], QueryProvider[A, B]

A model for constructing GROUP BY statements in MySQL.

A model for constructing GROUP BY statements in MySQL.

Type parameters

A

The type of Table. in the case of Join, it is a Tuple of type Table.

B

Scala types to be converted by Decoder

Value parameters

columns

Union-type column list

params

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

statement

SQL statement string

table

Trait for generating SQL table information.

Attributes

Source
GroupBy.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait QueryProvider[A, B]
trait Query[A, B]
trait SQL
class Object
trait Matchable
class Any
Show all
case class Having[A, B](table: A, columns: Column[B], statement: String, params: List[Dynamic]) extends Query[A, B], QueryProvider[A, B]

A model for constructing HAVING statements in MySQL.

A model for constructing HAVING statements in MySQL.

Type parameters

A

The type of Table. in the case of Join, it is a Tuple of type Table.

B

Scala types to be converted by Decoder

Value parameters

columns

Union-type column list

params

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

statement

SQL statement string

table

Trait for generating SQL table information.

Attributes

Source
Having.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait QueryProvider[A, B]
trait Query[A, B]
trait SQL
class Object
trait Matchable
class Any
Show all
sealed trait Insert[A] extends Command

Trait for building Statements to be added.

Trait for building Statements to be added.

Type parameters

A

The type of Table. in the case of Join, it is a Tuple of type Table.

Attributes

Companion
object
Source
Insert.scala
Supertypes
trait Command
trait SQL
class Object
trait Matchable
class Any
Known subtypes
class Impl[A]
class Values[A]
object Insert

Attributes

Companion
trait
Source
Insert.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Insert.type
case class Join[A, B, AB, OO](typed: "JOIN" | "LEFT JOIN" | "RIGHT JOIN", left: TableQuery[A, _], right: TableQuery[B, _])

A model for constructing JOIN statements in MySQL.

A model for constructing JOIN statements in MySQL.

Value parameters

left

Left table

right

Right table

typed

Type of JOIN statement

Attributes

Companion
object
Source
Join.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Join

Attributes

Companion
class
Source
Join.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Join.type
sealed trait Limit

A trait for constructing LIMIT statements in MySQL.

A trait for constructing LIMIT statements in MySQL.

Attributes

Companion
object
Source
Limit.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class C
class Q[A, B]
object Limit

Attributes

Companion
trait
Source
Limit.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Limit.type
case class Offset[A, B](table: A, columns: Column[B], statement: String, params: List[Dynamic]) extends Query[A, B]

A model for constructing OFFSET statements in MySQL.

A model for constructing OFFSET statements in MySQL.

Type parameters

A

The type of Table. in the case of Join, it is a Tuple of type Table.

B

Scala types to be converted by Decoder

Value parameters

columns

Union-type column list

params

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

statement

SQL statement string

table

Trait for generating SQL table information.

Attributes

Source
Offset.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Query[A, B]
trait SQL
class Object
trait Matchable
class Any
Show all
case class OrderBy[A, B](table: A, columns: Column[B], statement: String, params: List[Dynamic]) extends Query[A, B], QueryProvider[A, B]

A model for constructing ORDER BY statements in MySQL.

A model for constructing ORDER BY statements in MySQL.

Type parameters

A

The type of Table. in the case of Join, it is a Tuple of type Table.

B

Scala types to be converted by Decoder

Value parameters

columns

Union-type column list

params

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

statement

SQL statement string

table

Trait for generating SQL table information.

Attributes

Companion
object
Source
OrderBy.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait QueryProvider[A, B]
trait Query[A, B]
trait SQL
class Object
trait Matchable
class Any
Show all
object OrderBy

Attributes

Companion
class
Source
OrderBy.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
OrderBy.type
trait Query[A, B] extends SQL

Trait represents a read-only query in MySQL.

Trait represents a read-only query in MySQL.

Type parameters

A

The type of Table. in the case of Join, it is a Tuple of type Table.

B

Scala types to be converted by Decoder

Attributes

Source
Query.scala
Supertypes
trait SQL
class Object
trait Matchable
class Any
Known subtypes
class GroupBy[A, B]
class Having[A, B]
class Q[A, B]
class Offset[A, B]
class OrderBy[A, B]
class Select[A, B]
class Q[A, B]
Show all
case class Select[A, B](table: A, columns: Column[B], statement: String, params: List[Dynamic]) extends Query[A, B], QueryProvider[A, B]

A model for constructing SELECT statements in MySQL.

A model for constructing SELECT statements in MySQL.

Type parameters

A

The type of Table. in the case of Join, it is a Tuple of type Table.

B

Scala types to be converted by Decoder

Value parameters

columns

Union-type column list

params

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

statement

SQL statement string

table

Trait for generating SQL table information.

Attributes

Source
Select.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait QueryProvider[A, B]
trait Query[A, B]
trait SQL
class Object
trait Matchable
class Any
Show all
trait TableQuery[A, O]

Trait for constructing SQL Statement from Table information.

Trait for constructing SQL Statement from Table information.

Type parameters

A

The type of Table. in the case of Join, it is a Tuple of type Table.

O

The type of Optional Table. in the case of Join, it is a Tuple of type Optional Table.

Attributes

Companion
object
Source
TableQuery.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class On[A, B, AB, OO]
object TableQuery

Attributes

Companion
trait
Source
TableQuery.scala
Supertypes
class Object
trait Matchable
class Any
Self type
TableQuery.type
sealed trait Update[A] extends Command

Trait for building Statements to be updated.

Trait for building Statements to be updated.

Type parameters

A

The type of Table. in the case of Join, it is a Tuple of type Table.

Attributes

Companion
object
Source
Update.scala
Supertypes
trait Command
trait SQL
class Object
trait Matchable
class Any
object Update

Attributes

Companion
trait
Source
Update.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Update.type
sealed transparent trait Where[A]

Trait for building Statements to be WHERE.

Trait for building Statements to be WHERE.

Type parameters

A

The type of Table. in the case of Join, it is a Tuple of type Table.

Attributes

Companion
object
Source
Where.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class C[A]
class Q[A, B]
Self type
object Where

Attributes

Companion
trait
Source
Where.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Where.type