Method: PostgresqlWeb::Connection#tables
- Defined in:
- lib/postgresql_web/connection.rb
#tables ⇒ Object
32 33 34 35 |
# File 'lib/postgresql_web/connection.rb', line 32 def tables result = connection.exec("select tablename from pg_tables where schemaname = 'public'") result.column_values(0).sort end |