class Sequel::SQL::NumericExpression

  1. lib/sequel/sql.rb
Superclass: ComplexExpression

Subclass of ComplexExpression where the expression results in a numeric value in SQL.


Public Instance

  1. +
  2. sql_number

Public Instance methods


Always use + for + operator for NumericExpressions.

[show source]
     # File lib/sequel/sql.rb
1646 def +(ce)
1647, self, ce)
1648 end

Return self instead of creating a new object to save on memory.

[show source]
     # File lib/sequel/sql.rb
1651 def sql_number
1652   self
1653 end