# File lib/dbd/sqlite3/database.rb, line 94 def tables() ret = [] result = @db.execute(%q( SELECT name FROM sqlite_master WHERE type IN ('table', 'view') UNION ALL SELECT name FROM sqlite_temp_master WHERE type in ('table', 'view') ORDER BY 1 )) result.each{|row| ret.push(row[0])} ret end