class Babik::Selection::Operation::EndsWith
Constants
- SQL_OPERATOR
Public Instance Methods
_init_sql_operation()
click to toggle source
# File lib/babik/queryset/lib/selection/operation/operations.rb, line 141 def _init_sql_operation escaped_value = self.class.escape("%#{@value}") @sql_operation = @sql_operation.sub('?field', @field).sub('?value', escaped_value) end