Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 395 Bytes

File metadata and controls

19 lines (12 loc) · 395 Bytes

Local

This example demonstrates how to use libSQL with a synced database (local file synced with a remote database).

Install Dependencies

pip install libsql

Running

Execute the example:

TURSO_DATABASE_URL="..." TURSO_AUTH_TOKEN="..." python3 main.py

This will create a local database file that syncs with a remote database, insert some data, and query it.