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

to_sql to_sql

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

new new

Constructor Detail

def self.new(from, condition = nil, lateral = false, type : Symbol = :inner) #

[View source]

Instance Method Detail

def condition : Clear::Expression::Node? #

[View source]
def from : Selectable #

[View source]
def lateral : Bool #

[View source]
def to_sql #

[View source]
def type : String #

[View source]