ruby - In Rails console, how to see an Oracle view table? -
in rails console can see tables have issuing command:
activerecord::base.connection.tables
i have oracle view table, , not in list. in console can find on view , results. hoping like:
activerecord::base.connection.views # no such thing
but nope. ideas?
lets open db running rails dbconsole
(short-cut alias: "db"). once db sessions, run below query :
select view_name all_views
check post display views on oracle database.
Comments
Post a Comment