class Focus::QuerySource

Defined in:

focus/query_source.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(database : Focus::Database, table : Focus::Table, expression : Focus::QuerySourceExpression) #

[View source]

Instance Method Detail

def cross_join(right : Focus::Table, on : ColumnDeclaring(Bool) | Nil = nil) : QuerySource #

[View source]
def database : Focus::Database #

[View source]
def expression : Focus::QuerySourceExpression #

[View source]
def inner_join(right : Focus::Table, on : ColumnDeclaring(Bool) | Nil = nil) : QuerySource #

[View source]
def left_join(right : Focus::Table, on : ColumnDeclaring(Bool) | Nil = nil) : QuerySource #

[View source]
def right_join(right : Focus::Table, on : ColumnDeclaring(Bool) | Nil = nil) : QuerySource #

[View source]
def select(columns : Enumerable(Focus::BaseColumnDeclaring)) : Focus::Query #

[View source]
def select : Focus::Query #

[View source]
def select(*columns : Focus::BaseColumnDeclaring) : Focus::Query #

[View source]
def select_distinct(columns : Enumerable(Focus::BaseColumnDeclaring)) : Focus::Query #

[View source]
def select_distinct : Focus::Query #

[View source]
def select_distinct(*columns : Focus::BaseColumnDeclaring) : Focus::Query #

[View source]
def table : Focus::Table #

[View source]