Method: Sequel::SQLite::DatabaseMethods#tables
- Defined in:
- lib/sequel/adapters/shared/sqlite.rb
#tables(opts = OPTS) ⇒ Object
Array of symbols specifying the table names in the current database.
Options:
- :server
-
Set the server to use.
168 169 170 |
# File 'lib/sequel/adapters/shared/sqlite.rb', line 168 def tables(opts=OPTS) tables_and_views(Sequel.~(:name=>'sqlite_sequence') & {:type => 'table'}, opts) end |