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 i try to format
await cursor.execute("SELECT * FROM settings WHERE userid = %s", (author.id))
It appears that
line 147, in mogrify query = query % self._escape_args(args, conn) File "/usr/lib/python3.9/site-packages/asyncmy/cursors.py", line 126, in _escape_args return conn.escape(args) File "asyncmy/connection.pyx", line 409, in asyncmy.connection.Connection.escape File "asyncmy/converters.pyx", line 10, in asyncmy.converters.escape_item File "asyncmy/converters.pyx", line 25, in asyncmy.converters.escape_item File "asyncmy/converters.pyx", line 48, in asyncmy.converters.escape_int OverflowError: Python int too large to convert to C long
The value I want to format is 18 digits, the column has data type BIGINT. And sometimes I also need to format 18 digit values for 3 primary keys.
The text was updated successfully, but these errors were encountered:
You can try latest dev branch
Sorry, something went wrong.
Yes, I have version 0.1.6
Just install from source, which version is 0.1.7
Thanks!
No branches or pull requests
When i try to format
It appears that
The value I want to format is 18 digits, the column has data type BIGINT. And sometimes I also need to format 18 digit values for 3 primary keys.
The text was updated successfully, but these errors were encountered: