File: 5.33.0.txt

package info (click to toggle)
ruby-sequel 5.63.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,408 kB
  • sloc: ruby: 113,747; makefile: 3
file content (24 lines) | stat: -rw-r--r-- 879 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
= New Features

* Custom join types are now supported on a per-association basis when
  using eager_graph/association_join.  This builds on the previous
  support for custom aliases, using Sequel::SQL::AliasedExpression:

    class Artist < Sequel::Model; end
    class Album < Sequel::Model; end
    class Track < Sequel::Model; end
    Artist.one_to_many :albums
    Album.one_to_many :tracks
    Artist.eager_graph(
      Sequel[:albums].as(:a, join_type: :inner) =>
        Sequel[:tracks].as(:t, join_type: :left)
    )

* A Database#current_timestamp_utc accessor has been added on SQLite.
  Setting this to true will keep CURRENT_TIMESTAMP, CURRENT_TIME, and
  CURRENT_DATE in UTC instead of converting them to localtime.

= Other Improvements

* The smallserial PostgreSQL type is now recognized and Sequel will
  not try to mark smallserial columns as identity columns.