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
engine.dialect.has_schema
ODBC Driver 18 for SQL Server
The method sqlalchemy.engine.Dialect.has_schema is not implemented in pyodbc.
The text was updated successfully, but these errors were encountered:
That method is part of the SQLAlchemy dialect. The documentation you cite says
This is an internal dialect method. Applications should use Inspector.has_schema().
and that does work:
import sqlalchemy as sa engine = sa.create_engine("mssql+pyodbc://scott:tiger^5HHH@mssql_199") insp = sa.inspect(engine) print(insp.has_schema("dbo")) # True print(insp.has_schema("non_existent")) # False
Sorry, something went wrong.
use inspection mkleehammer/pyodbc#1312
729f719
No branches or pull requests
Environment
ODBC Driver 18 for SQL Server
Issue
The method sqlalchemy.engine.Dialect.has_schema is not implemented in pyodbc.
The text was updated successfully, but these errors were encountered: