Skip to content

Unable to set a NULL value parameter #80

Description

@cmendoza-cs

libsql-experimental version: 0.0.41

I'm trying to figure out how to pass a null value parameter.
I believe using None is the expected way, but passing None results in the error: ValueError: Unsupported parameter type.

i.e.

    conn = libsql.connect(...)

    conn.execute(
        """
        INSERT INTO user (name, age)
        VALUES (?, ?)
        """,
        ("Chris", None)
    )
    # ValueError: Unsupported parameter type

Activity

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

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