Method: Sequel::Postgres::DatabaseMethods#views

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

#views(opts = OPTS) ⇒ Object

Array of symbols specifying view names in the current database.

Options:

:qualify

Return the views as Sequel::SQL::QualifiedIdentifier instances, using the schema the view is located in as the qualifier.

:schema

The schema to search

:server

The server to use



560
561
562
# File 'lib/sequel/adapters/shared/postgres.rb', line 560

def views(opts=OPTS)
  pg_class_relname('v', opts)
end