Where

ldbc.statement.Where
See theWhere companion object
sealed trait Where[A]

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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class C[A]
class Q[A, B]

Members list

Type members

Types

type Self

Attributes

Source
Where.scala

Value members

Abstract methods

def table: A

Trait for generating SQL table information.

Trait for generating SQL table information.

Attributes

Source
Where.scala

Concrete methods

def &&(func: A => Expression): Self

Attributes

Source
Where.scala
def and(func: A => Expression): Self

Function to set additional conditions on WHERE statement.

Function to set additional conditions on WHERE statement.

 TableQuery[City]
   .select(_.name)
   .where(_.population > 1000000)
   .and(_.name == "Tokyo")

Value parameters

func

Function to construct an expression using the columns that Table has.

Attributes

Source
Where.scala
def or(func: A => Expression): Self

Function to set additional conditions on WHERE statement.

Function to set additional conditions on WHERE statement.

 TableQuery[City]
   .select(_.name)
   .where(_.population > 1000000)
   .or(_.name == "Tokyo")

Value parameters

func

Function to construct an expression using the columns that Table has.

Attributes

Source
Where.scala
def xor(func: A => Expression): Self

Function to set additional conditions on WHERE statement.

Function to set additional conditions on WHERE statement.

 TableQuery[City]
   .select(_.name)
   .where(_.population > 1000000)
   .xor(_.name == "Tokyo")

Value parameters

func

Function to construct an expression using the columns that Table has.

Attributes

Source
Where.scala
def ||(func: A => Expression): Self

Attributes

Source
Where.scala