Method: Hypershield.drop_view

Defined in:
lib/hypershield.rb

.drop_view(view) ⇒ Object



25
26
27
28
29
# File 'lib/hypershield.rb', line 25

def drop_view(view)
  schemas.each do |schema, _|
    execute("DROP VIEW IF EXISTS #{quote_ident(schema)}.#{quote_ident(view)}")
  end
end