Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

RANDOM ROWID unsupported #23

@raulvc

Description

@raulvc

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

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