class Lustra::SQL::Query::OnConflict::OnConflictWhereClause

Overview

Fragment used when ON CONFLICT WHERE ...

Included Modules

Defined in:

lustra/sql/query/on_conflict.cr

Constructors

Instance Method Summary

Instance methods inherited from module Lustra::SQL::Query::Where

clear_wheres clear_wheres, not(&)
not(conditions : NamedTuple | Hash(String, Lustra::SQL::Any))
not(template : String)
not(template : String, *args)
not(template : String, **tuple)
not(**tuple)
not
, or(node : Lustra::Expression::Node)
or(&)
or(conditions : NamedTuple | Hash(String, Lustra::SQL::Any))
or(template : String, *args)
or(template : String, **tuple)
or(**tuple)
or
, where(node : Lustra::Expression::Node)
where(&)
where(conditions : NamedTuple | Hash(String, Lustra::SQL::Any))
where(template : String)
where(template : String, *args)
where(template : String, **tuple)
where(**tuple)
where

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def change! #

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def wheres : Array(Lustra::Expression::Node) #

Return the list of where clause; each where clause are transformed into Lustra::Expression::Node