Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 340 Bytes

File metadata and controls

17 lines (11 loc) · 340 Bytes

Sync

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

Building

make

Running

TURSO_DATABASE_URL="..." TURSO_AUTH_TOKEN="..." ./example

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