tursodatabase / libsql-client-py

Python SDK for libSQL

Home Page:https://libsql.org/libsql-client-py/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RANDOM ROWID unsupported

raulvc opened this issue · comments

random rowid is unsupported by this client (tried both dbapi2 and the regular client)

libsql_client.client.LibsqlError: SQL_INPUT_ERROR: SQL input error

here's an example code:

from libsql_client import dbapi2

conn = dbapi2.connect("ws://localhost:8080", uri=True)
conn.executescript('''CREATE TABLE test_fails(stuff CHAR(1)) RANDOM ROWID;''')
conn.close()