--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns a dataset selecting from the current dataset. Supplying the :alias option controls the name of the result.
- !ruby/struct:SM::Flow::VERB 
  body: "  ds = DB[:items].order(:name).select(:id, :name)\n  ds.sql                         #=&gt; &quot;SELECT id,name FROM items ORDER BY name&quot;\n  ds.from_self.sql               #=&gt; &quot;SELECT * FROM (SELECT id, name FROM items ORDER BY name) AS 't1'&quot;\n  ds.from_self(:alias=&gt;:foo).sql #=&gt; &quot;SELECT * FROM (SELECT id, name FROM items ORDER BY name) AS 'foo'&quot;\n"
full_name: Sequel::Dataset#from_self
is_singleton: false
name: from_self
params: (opts={})
visibility: public
