Class: Babik::QuerySet::Update::Assignment::Divide

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

Overview

Division operation

Instance Method Summary collapse

Methods inherited from Operation

#sql_value

Constructor Details

#initialize(field, value) ⇒ Divide

Returns a new instance of Divide.



100
101
102
# File 'lib/babik/queryset/lib/update/assignment.rb', line 100

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