module Sequel::Plugins::TableSelect::ClassMethods

Private Instance Methods

convert_input_dataset(ds) click to toggle source

If the underlying dataset selects from a single table and has no explicit selection, select table.* from that table.

Calls superclass method
   # File lib/sequel/plugins/table_select.rb
33 def convert_input_dataset(ds)
34   ds = super
35   unless ds.opts[:select]
36     ds = ds.select_all(ds.first_source)
37   end
38   ds
39 end