class Rasti::DB::NQL::Nodes::Comparisons::Base
Public Instance Methods
computed_attributes(collection_class)
click to toggle source
# File lib/rasti/db/nql/nodes/comparisons/base.rb, line 12 def computed_attributes(collection_class) attribute.computed_attributes(collection_class) end
dependency_tables()
click to toggle source
# File lib/rasti/db/nql/nodes/comparisons/base.rb, line 8 def dependency_tables attribute.tables.empty? ? [] : [attribute.tables.join('.')] end
filter_condition(collection_class)
click to toggle source
# File lib/rasti/db/nql/nodes/comparisons/base.rb, line 16 def filter_condition(collection_class) DB.nql_filter_condition_for comparison_name, attribute.identifier(collection_class), argument end
Private Instance Methods
comparison_name()
click to toggle source
# File lib/rasti/db/nql/nodes/comparisons/base.rb, line 22 def comparison_name Inflecto.underscore(Inflecto.demodulize(self.class)).to_sym end