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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Creates a view, replacing it if it already exists:"
- !ruby/struct:SM::Flow::VERB 
  body: "  DB.create_or_replace_view(:cheap_items, &quot;SELECT * FROM items WHERE price &lt; 100&quot;)\n  DB.create_or_replace_view(:ruby_items, DB[:items].filter(:category =&gt; 'ruby'))\n"
full_name: Sequel::Database#create_or_replace_view
is_singleton: false
name: create_or_replace_view
params: (name, source)
visibility: public
