Path: | doc/release_notes/4.13.0.txt |
Last Update: | Thu Nov 12 08:45:04 +0000 2015 |
Sequel::Model.plugin :column_select class Album < Sequel::Model end Album.dataset.sql # SELECT albums.id, albums.name, albums.artist_id # FROM albums
DB.from(:a, DB[:b]).sql # SELECT * FROM a, (SELECT * FROM b) AS t1 DB.extension(:dataset_source_alias) DB.from(:a, DB[:b]).sql # SELECT * FROM a, (SELECT * FROM b) AS b
Among other things, this means that a many_to_many association to a model that uses lazy attributes will not eagerly load the lazy attributes by default.