Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MS SQL columnInfo for a View returns empty result #82

Open
gpetrov opened this issue Nov 17, 2021 · 2 comments
Open

MS SQL columnInfo for a View returns empty result #82

gpetrov opened this issue Nov 17, 2021 · 2 comments

Comments

@gpetrov
Copy link

gpetrov commented Nov 17, 2021

When calling the columnInfo to retrieve the columns of a view, it returns an empty result for MS SQL.

Other drivers work fine.

Should this be fixed? Or are there plans to add more View related functions, now that Knex has more view support as well?

@jfoutts-avenue8
Copy link

Doesn't work for Postgres views, either. Looks like code uses information_schema.tables but not information_schema.views.

@rijkvanzanten
Copy link
Collaborator

Should this be fixed? Or are there plans to add more View related functions, now that Knex has more view support as well?

I haven't implemented anything around views, so it makes sense that it won't work for views yet. I'm not currently working on implementing views support. Always open for a PR though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants