struct Clear::SQL::Join

Defined in:

clear/sql/fragment/join.cr

Constant Summary

TYPE = {left: "LEFT JOIN", inner: "INNER JOIN", right: "RIGHT JOIN", full_outer: "FULL OUTER JOIN", cross: "CROSS JOIN"}

Constructors

Instance Method Summary

Instance methods inherited from struct Clear::SQL::Fragment

initialize initialize, to_sql to_sql

Constructor methods inherited from struct Clear::SQL::Fragment

new new

Constructor Detail

def self.new(from : Clear::SQL::SelectBuilder | String | Symbol, condition : Clear::Expression::Node | Nil = nil, lateral : Bool = false, type : Symbol = :inner) #

[View source]

Instance Method Detail

def condition : Clear::Expression::Node | Nil #

[View source]
def from : Selectable #

[View source]
def lateral? : Bool #

[View source]
def to_sql #

[View source]
def type : String #

[View source]