module Focus::PG::Dsl::Types

Defined in:

pg/dsl/types.cr

Instance Method Summary

Instance Method Detail

def date(year : Int32, month : Int8, day : Int8) : Focus::DateExpression #

[View source]
def date(time : Time) : Focus::DateExpression #

[View source]
def interval(span : Time::Span) : Focus::IntervalExpression #

[View source]
def interval(value : String) : Focus::IntervalExpression #

[View source]
def jsonb(value : JSON::Any) : Focus::JsonbExpression #

[View source]
def string(value : UUID) : Focus::StringExpression #

[View source]
def time(hour : Int8, minute : Int8, second : Int8, nanoseconds : Int32 | Nil = nil) : Focus::TimeExpression #

[View source]
def timestamp(year : Int32, month : Int8, day : Int8, hour : Int8, minute : Int8, second : Int8, nanoseconds : Int32 | Nil = nil) : Focus::TimestampExpression #

[View source]
def timestamp(time : Time) : Focus::TimestampExpression #

[View source]
def timestamp_tz(year : Int32, month : Int8, day : Int8, hour : Int8, minute : Int8, second : Int8, nanoseconds : Int32, time_zone : String) : Focus::TimestampTzExpression #

[View source]
def timestamp_tz(time : Time) : Focus::TimestampTzExpression #

[View source]