We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When creating a fully qualified table (with explicit schema), field names are recognized as tables.
from sql-metadata import Parser SQL = """ CREATE TABLE mytable ( code INTEGER NOT NULL, short_name CHAR(9) ); """ SQL2 = """ CREATE TABLE myschema.mytable ( code INTEGER NOT NULL, short_name CHAR(9) ); """
Result
>>> Parser(SQL).tables ['mytable'] >>> Parser(SQL2).tables ['myschema.mytable', 'code', 'short_name']
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
When creating a fully qualified table (with explicit schema), field names are recognized as tables.
Result
The text was updated successfully, but these errors were encountered: