select_remove.rb

lib/sequel/extensions/select_remove.rb
Last Update: 2016-09-13 13:21:30 -0700

The select_remove extension adds Sequel::Dataset#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