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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -