Module Sequel::Plugins::SplitValues::InstanceMethods
In: lib/sequel/plugins/split_values.rb

Methods

Public Instance methods

If there isn‘t an entry in the values hash, but there is a noncolumn_values hash, look in that hash for the value.

[Source]

    # File lib/sequel/plugins/split_values.rb, line 49
49:         def [](k)
50:           super || (@noncolumn_values[k] if !@values.has_key?(k) && @noncolumn_values)
51:         end

Check all entries in the values hash. If any of the keys are not columns, move the entry into the noncolumn_values hash.

[Source]

    # File lib/sequel/plugins/split_values.rb, line 55
55:         def split_noncolumn_values
56:           @values.keys.each do |k|
57:             unless columns.include?(k)
58:               (@noncolumn_values ||= {})[k] = @values.delete(k)
59:             end
60:           end
61:           self
62:         end

[Validate]