Skip to content

Conversation

@JordiMForgeFlow
Copy link
Contributor

The execute method expects as the query not a plain string, but an object. The easiest is to convert it to a TextClause object: https://docs.sqlalchemy.org/en/20/core/connections.html#sqlalchemy.engine.Connection.execute

Examples are actually provided in the documentation: https://docs.sqlalchemy.org/en/20/core/sqlelement.html#sqlalchemy.sql.expression.TextClause

@OCA-git-bot
Copy link
Contributor

Hi @anddago78,
some modules you are maintaining are being modified, check this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants