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 25 25: def from(*args, &block) 26: if block 27: @default_dataset.from(*args, &block) 28: else 29: super 30: end 31: end
[Validate]