ydb-platform / ydb-sqlalchemy

YQL Dialect for SQLAlchemy
Apache License 2.0
20 stars 6 forks source link

Allow get query as string for dbapi curson execute method #48

Open rekby opened 4 months ago

rekby commented 4 months ago

https://github.com/ydb-platform/ydb-sqlalchemy/blob/48cc1c2e53a9c23be6dc371177dda644a6447b00/ydb_sqlalchemy/dbapi/cursor.py#L117

Now it can work with some additional mark for ddl queries and it should work fine after switch the dbapi to ydb query service.

uzhastik commented 3 months ago

it would be nice to pass all info about parameters via argument "parameters". now we have parameter types inside YdbQuery