Module Sequel::Database::FromBlock
In: lib/sequel/extensions/from_block.rb

Methods

from  

Public Instance methods

If a block is given, make it affect the FROM clause:

  DB.from{table_function(1)}
  # SELECT * FROM table_function(1)

[Source]

    # File lib/sequel/extensions/from_block.rb, line 21
21:     def from(*args, &block)
22:       if block
23:         @default_dataset.from(*args, &block)
24:       else
25:         super
26:       end
27:     end

[Validate]