Files
turso/serverless/javascript/examples/remote/README.md
Pekka Enberg 4e144df120 Move @tursodatabase/serverless to serverless/javascript
Reorganize serverless SDKs under a top-level serverless/ directory
to support multi-language serverless drivers alongside the existing
bindings/ convention.
2026-03-26 08:15:10 +02:00

308 B

Remote

This example demonstrates how to use Turso Cloud.

Install Dependencies

npm i

Running

Execute the example:

TURSO_DATABASE_URL="..." TURSO_AUTH_TOKEN="..." node index.mjs

This will connect to a remote SQLite database, insert some data, and then query the results.