Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
codelens/query problem #270
Describe the bug
Am I doing something wrong?
Q2. "desc [table_name]" query on oracle does not work.
Desktop (please complete the following information):
I'm not sure I follow, how is this a SQLPlus/oracledb-node issue?
According to /packages/plugins/codelens/provider.ts, it's specifically looking for a @conn statement at the top of the block, then at the top of the file - only using the active connection if neither were found. It's not specific to oracle in any way.
https://vscode-sqltools.mteixeira.dev/executing-queries also states that you're supposed to be able to use @conn at the top of a file, which will define the connection used for any queries executed in that file. This is not working as described either.
There's something wrong with the code that finds those @conn statements.