Join

ldbc.query.builder.statement.Join
See theJoin companion object
trait Join[JOINS <: Tuple, SELECTS <: Tuple]

Trait to build a Join.

Type parameters

JOINS

Tuple type of TableQuery used to perform the Join.

SELECTS

Tuple type of TableQuery used to construct Select statements, etc.

Attributes

Companion
object
Source
Join.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Join[JOINS, SELECTS]

Members list

Value members

Concrete methods

def join[P <: Product](other: Table[P])(on: (Concat[JOINS, Tuple1[Table[P]]]) => Expression)(using IsTableOpt[SELECTS] =:= true): Join[Concat[JOINS, Tuple1[Table[P]]], Concat[SELECTS, Tuple1[Table[P]]]]

A method to perform a simple Join.

A method to perform a simple Join.

Type parameters

P

Base trait for all products

Value parameters

on

Comparison function that performs a Join.

other

Table to do a Join.

Attributes

Source
Join.scala
def leftJoin[P <: Product](other: Table[P])(on: (Concat[JOINS, Tuple1[Table[P]]]) => Expression)(using IsTableOpt[SELECTS] =:= true): Join[Concat[JOINS, Tuple1[Table[P]]], Concat[SELECTS, Tuple1[TableOpt[P]]]]

Method to perform Left Join.

Method to perform Left Join.

Type parameters

P

Base trait for all products

Value parameters

on

Comparison function that performs a Join.

other

Table to do a Join.

Attributes

Source
Join.scala
def rightJoin[P <: Product](other: Table[P])(on: (Concat[JOINS, Tuple1[Table[P]]]) => Expression)(using IsTableOpt[SELECTS] =:= true): Join[Concat[JOINS, Tuple1[Table[P]]], Concat[ToTableOpt[SELECTS], Tuple1[Table[P]]]]

Method to perform Right Join.

Method to perform Right Join.

Type parameters

P

Base trait for all products

Value parameters

on

Comparison function that performs a Join.

other

Table to do a Join.

Attributes

Source
Join.scala
def select[C](func: SELECTS => C)(using IsColumn[C] =:= true): JoinSelect[SELECTS, C]

Attributes

Source
Join.scala