Skip to content
New issue

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

String value of 250 characters causes error #103

Open
elghali opened this issue Dec 13, 2019 · 0 comments
Open

String value of 250 characters causes error #103

elghali opened this issue Dec 13, 2019 · 0 comments

Comments

@elghali
Copy link

elghali commented Dec 13, 2019

Hello, whenever trying to execute an INSERT statement with a text of 250 characters I get this error:

line 1605, in execute
param_buffer.value = c_char_buf
ValueError: string too long

currently I truncated the text to 200 characters, but is there a better solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant