class SQL::Builder

Defined in:

sql/builder.cr

Constant Summary

SORTING_ORDER = {SQL_Select => 1, SQL_From => 2} of SQL::Component.class => Int32

Constructors

Instance Method Summary

Constructor Detail

def self.new(io : IO = IO::Memory.new) #

[View source]

Instance Method Detail

def add(statement : SQL::Component) : self #

[View source]
def build : Nil #

[View source]
def to_s(*args, **options) #

[View source]
def to_s(*args, **options, &) #

[View source]
def tree : Array(SQL::Component) #

[View source]