Class: Babik::QuerySet::Update::Assignment::Multiply

Inherits:
Operation
  • Object
show all
Defined in:
lib/babik/queryset/lib/update/assignment.rb

Overview

Multiplication operation

Instance Method Summary collapse

Methods inherited from Operation

#sql_value

Constructor Details

#initialize(field, value) ⇒ Multiply

Returns a new instance of Multiply.



93
94
95
# File 'lib/babik/queryset/lib/update/assignment.rb', line 93

def initialize(field, value)
  super(field, '*', value)
end