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

Error when tying to insert records of "None" type #59

Open
kenBinary opened this issue May 30, 2024 · 0 comments
Open

Error when tying to insert records of "None" type #59

kenBinary opened this issue May 30, 2024 · 0 comments

Comments

@kenBinary
Copy link

kenBinary commented May 30, 2024

I tried to insert a record with None type but it resulted in this error:

thread '<unnamed>' panicked at src/lib.rs:411:39:
not yet implemented
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last):
  File "/home/user/project/test.py", line 45, in <module>
    cursor.execute("insert into test_table values (?,?);", tuple(["some text", None]))
pyo3_runtime.PanicException: not yet implemented

Code:
cursor.execute("insert into test_table values (?,?);", tuple(["some text", None]))

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