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