struct PgORM::PostgreSQL

Defined in:

pg-orm/pg-adapter.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(builder : PgORM::Query::Builder) #

[View source]

Class Method Detail

def self.quote(name : Symbol | String, io : IO) #

[View source]

Instance Method Detail

def build_where_regex(condition, io, args) #

[View source]
def delete : Nil #

[View source]
def insert(attributes : Hash | NamedTuple, &) #

[View source]
def quote(name : Symbol | String, io : IO) #

[View source]
def quote(name : Symbol | String) #

[View source]
def scalar #

[View source]
def select_all(& : DB::ResultSet -> U) : Array(U) forall U #

[View source]
def select_each(&) : Nil #

[View source]
def select_one(&) #

[View source]
def to_sql : String #

[View source]
def update(attributes : Hash | NamedTuple) : Nil #

[View source]