Class: Sequel::SQL::GenericExpression

Inherits:
Expression show all
Includes:
Postgres::ArrayOpMethods, Postgres::HStoreOpMethods, Postgres::JSONOpMethods, Postgres::PGRowOp::ExpressionMethods, Postgres::RangeOpMethods, AliasMethods, BooleanMethods, CastMethods, ComplexExpressionMethods, InequalityMethods, NumericMethods, OrderMethods, StringMethods, SubscriptMethods
Defined in:
lib/sequel/sql.rb,
lib/sequel/sql.rb,
lib/sequel/extensions/pg_row_ops.rb,
lib/sequel/extensions/pg_json_ops.rb,
lib/sequel/extensions/pg_range_ops.rb,
lib/sequel/extensions/pg_array_ops.rb,
lib/sequel/extensions/pg_hstore_ops.rb

Overview

The base class for expressions that can be used in multiple places in an SQL query.

Direct Known Subclasses

CaseExpression, Cast, Constant, DateAdd, DelayedEvaluation, Function, Identifier, PlaceholderLiteralString, QualifiedIdentifier, Subscript, WindowFunction, Wrapper

Method Summary

Methods included from Postgres::HStoreOpMethods

#hstore

Methods included from Postgres::ArrayOpMethods

#pg_array

Methods included from Postgres::RangeOpMethods

#pg_range

Methods included from Postgres::JSONOpMethods

#pg_json

Methods included from Postgres::PGRowOp::ExpressionMethods

#pg_row

Methods included from SubscriptMethods

#sql_subscript

Methods included from StringMethods

#ilike, #like

Methods included from OrderMethods

#asc, #desc

Methods included from NumericMethods

#+

Methods included from ComplexExpressionMethods

#extract, #sql_boolean, #sql_number, #sql_string

Methods included from CastMethods

#cast, #cast_numeric, #cast_string

Methods included from BooleanMethods

#~

Methods included from AliasMethods

#as

Methods inherited from Expression

#==, attr_reader, #eql?, #hash, inherited, #inspect, #lit, #sql_literal