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

get_tables() returns views as well and not just tables #4

Open
amanjeev opened this issue Dec 12, 2014 · 0 comments
Open

get_tables() returns views as well and not just tables #4

amanjeev opened this issue Dec 12, 2014 · 0 comments

Comments

@amanjeev
Copy link

I understand that this is a wrapper to django-mssql but I was wondering if this is a better starting place to ask this. The connections.introspection.table_names() returns views as well. table_names() calls get_tables() which returns all objects and not just tables [1].

I think it will help if we can define not only the kind of objects but also if possible a list of tables that we need inspected. What do you think? Please feel free to correct me or point me to the right direction.

[1] https://bitbucket.org/Manfre/django-mssql/src/d5703fe6ab98181f3878674b7c476ff26c9ba208/sqlserver_ado/introspection.py?at=master#cl-31

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

1 participant