select_remove.rb

lib/sequel/extensions/select_remove.rb
Last Update: 2017-08-01 08:12:01 -0700

The select_remove extension adds select_remove for removing existing selected columns from a dataset. It’s not part of Sequel core as it is rarely needed and has some corner cases where it can’t work correctly.

You can load this extension into specific datasets:

ds = DB[:table]
ds = ds.extension(:select_remove)

Or you can load it into all of a database’s datasets, which is probably the desired behavior if you are using this extension:

DB.extension(:select_remove)

Related module: Sequel::SelectRemove