class Jennifer::QueryBuilder::Cast

Overview

SQL CAST expression.

Defined in:

jennifer/query_builder/cast.cr

Constructors

Instance Method Summary

Instance methods inherited from class Jennifer::QueryBuilder::SQLNode

alias_tables(aliases) alias_tables, as_sql as_sql, change_table(old_name, new_name) change_table, eql?(other) eql?, set_relation(table, name) set_relation, to_condition to_condition

Instance methods inherited from module Jennifer::QueryBuilder::Statement

as_sql(sql_generator) as_sql, filterable? filterable?, sql_args : Array(DBAny) sql_args

Constructor Detail

def self.new(expression, type) #

[View source]

Instance Method Detail

def alias_tables(*args, **options) #

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

[View source]
def as_sql(generator) #
Description copied from module Jennifer::QueryBuilder::Statement

Converts node to SQL using sql_generator SQLGenerator.


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

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

[View source]
def clone #

Returns a copy of self with all instance variables cloned.


[View source]
def expression : SQLNode #

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

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

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

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

[View source]
def sql_args(*args, **options) : Array(DBAny) #

[View source]
def type : String #

[View source]