Skip to content

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

@kenBinary

Description

@kenBinary

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]))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions