Sha256: 36ee9c75e8c5e460acef551b6b64cfb0d0d3c7ceee834a20eeb5bcbb40b85166

Contents?: true

Size: 1.47 KB

Versions: 61

Compression:

Stored size: 1.47 KB

Contents

= New Features

* On SQLite 3.33.0+, the UPDATE FROM syntax is now supported. This
  allows you to update one table based on a join to another table.
  The SQLite syntax is based on the PostgreSQL syntax, and the
  Sequel API is the same for both.  You need to pass multiple tables
  to Dataset#from.  The first table is the table to update, and the
  remaining tables are used to construct the UPDATE FROM clause:

    DB[:a, :b].where{{a[:c]=>b[:d]}}.update(:e=>'f')
    # UPDATE a SET e = 'f' FROM b WHERE (a.c = b.d)

  Unlike PostgreSQL, SQLite does not support the deletion of joined
  datasets.  Related to this, the following methods for testing
  database support for modifying joined datasets have been added:

  * supports_updating_joins?
  * supports_deleting_joins?

= Other Improvements

* The pg_interval and date_arithmetic extensions now support
  ActiveSupport 6.1.

* Sequel no longer issues method redefinition warnings in verbose
  mode.  As Ruby 3 has dropped uninitialized instance variable
  warnings, Sequel is now verbose warning free on Ruby 3.

= Backwards Compatibility

* Trying to truncate or insert into a joined dataset now correctly
  raises an exception even if the joined dataset supports updates.

* The private Dataset#check_modification_allowed! method is now
  deprecated, and users (custom adapters) should now switch to one
  of the more specific methods introduced in this version:

  * check_insert_allowed!
  * check_update_allowed!
  * check_delete_allowed!

Version data entries

61 entries across 54 versions & 2 rubygems

Version Path
sequel-5.83.1 doc/release_notes/5.40.0.txt
sequel-5.83.0 doc/release_notes/5.40.0.txt
sequel-5.82.0 doc/release_notes/5.40.0.txt
sequel-5.81.0 doc/release_notes/5.40.0.txt
sequel-5.80.0 doc/release_notes/5.40.0.txt
sequel-5.79.0 doc/release_notes/5.40.0.txt
sequel-5.78.0 doc/release_notes/5.40.0.txt
sequel-5.77.0 doc/release_notes/5.40.0.txt
sequel-5.76.0 doc/release_notes/5.40.0.txt
sequel-5.75.0 doc/release_notes/5.40.0.txt
sequel-5.74.0 doc/release_notes/5.40.0.txt
sequel-5.73.0 doc/release_notes/5.40.0.txt
sequel-5.72.0 doc/release_notes/5.40.0.txt
sequel-5.71.0 doc/release_notes/5.40.0.txt
sequel-5.70.0 doc/release_notes/5.40.0.txt
sequel-5.69.0 doc/release_notes/5.40.0.txt
sequel-5.68.0 doc/release_notes/5.40.0.txt
sequel-5.67.0 doc/release_notes/5.40.0.txt
sequel-5.66.0 doc/release_notes/5.40.0.txt
sequel-5.65.0 doc/release_notes/5.40.0.txt