class Babik::Selection::Operation::IsNull
IS NULL operation
Public Class Methods
new(field, value)
click to toggle source
Calls superclass method
Babik::Selection::Operation::Base::new
# File lib/babik/queryset/lib/selection/operation/operations.rb, line 79 def initialize(field, value) sql_operation = value ? '?field IS NULL' : '?field IS NOT NULL' super(field, sql_operation, value) end