tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
9.54k stars 252 forks source link

Issue: pyo3_runtime.PanicException: not yet implemented #1658

Open omeratia opened 1 month ago

omeratia commented 1 month ago

Using the Turso DB straight from my Flask python backend, i've faced an issue when trying to use a INSERT OR IGNORE sqlite clause.

The code is: for track in tracks_info:

Insert or ignore album information

            conn.execute('''
                INSERT OR IGNORE INTO apple_albums (apple_album_id, title, release_year, artist_id, picture_url)
                VALUES (?, ?, ?, ?, ?)
            ''', (track['apple_album_id'], track['album_title'], track['release_year'], track['apple_artist_id'], track['image_url']))

This results in : pyo3_runtime.PanicException: not yet implemented