Method: Sequel::MySQL::DatabaseMethods#views

Defined in:
lib/sequel/adapters/shared/mysql.rb

#views(opts = {}) ⇒ Object

Return an array of symbols specifying view names in the current database.

Options:

  • :server - Set the server to use



171
172
173
# File 'lib/sequel/adapters/shared/mysql.rb', line 171

def views(opts={})
  full_tables('VIEW', opts)
end