libsql-experimental-python
libsql-experimental-python copied to clipboard
Support list of values for positional bound parameters
In sqlite3, this works as you would expect (list of values in square brackets vs. tuple in parens):
cur.execute("INSERT INTO users VALUES (?, ?)", [1, '[email protected]'])
In libsql, this yields the error:
TypeError: argument 'parameters': 'list' object cannot be converted to 'PyTuple'