lib/updateable_views_inheritance/postgresql_adapter.rb
# Return the list of all views in the schema search path.
Return the list of all views in the schema search path.
Return the list of all views in the schema search path .
def views(name=nil)
          schemas = schema_search_path.split(/,\s*/).map { |p| quote(p) }.join(',')
          query(<<-SQL, name).map { |row| row[0] }
            SELECT viewname
              FROM pg_views
             WHERE schemaname IN (#{schemas})
          SQL
        end
def views ( name = nil ) schemas = schema_search_path . split ( / , \s * / ) . map { | p | quote ( p ) } . join ( ',' ) query ( <<-SQL , name ) . map { | row | row [ 0 ] } 
            SELECT viewname
              FROM pg_views
             WHERE schemaname IN ( #{ schemas } )
           SQL end
Return the list of all views in the schema search path.
Return the list of all views in the schema search path .
name
<not_specific>