tursodatabase / tursodatabase/libsql

How to serve up an existing SQLite database with `sqld`

Open
#1,959 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
17.2k
Forks
531
Avg merge
1h 12m
Merged PRs (30d)
1

Description

I wasn't able to find any information about this in the documentation. I have an existing database that I want to serve with sqld. What param would I need to pass for that? --db-path expects a directory not a sqlite database.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the sqld command-line entry point and its --db-path option, then verify how an existing SQLite database file can be served. Document the required parameter or invocation and include an example that distinguishes a database file from the directory currently expected; confirm the documented command works.

Written by the indexing model from the issue text.

Assessment

Tech stack
sqlite
Domain
databases, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.