Path: | doc/release_notes/3.43.0.txt |
Last Update: | Sat Aug 17 05:34:45 +0000 2013 |
Sequel.extension :date_arithmetic e = Sequel.date_add(:date_column, :years=>1, :months=>2, :days=>3) DB[:table].where(e > Sequel::CURRENT_DATE)
In addition to providing the interval as a hash, you can also provide it as an ActiveSupport::Duration object. This extension is supported on 11 database types.
value1, value2 = DB[:table].get([:column1, :column2])
Sequel.extension :meta_def
DB[:table].get([[:a, 1], [:b, 2]])
should be changed to:
DB[:table].get(Sequel.expr([[:a, 1], [:b, 2]]))