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

RANDOM ROWID unsupported #23

Open
raulvc opened this issue Feb 7, 2024 · 0 comments
Open

RANDOM ROWID unsupported #23

raulvc opened this issue Feb 7, 2024 · 0 comments

Comments

@raulvc
Copy link

raulvc commented Feb 7, 2024

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