Method: Libsql::Schema#tables
- Defined in:
- lib/libsql/schema.rb
#tables ⇒ Object
return the tables, reloading if dirty. If there is a temp table and a normal table with the same name, then the temp table is the one that is returned in the hash.
82 83 84 85 86 87 88 89 |
# File 'lib/libsql/schema.rb', line 82 def tables load_schema! if dirty? t = @tables if @temp_schema then t = @tables.merge( @temp_schema.tables ) end return t end |