tursodatabase / tursodatabase/libsql-client-ts

Fix the local database implementation of Client.batch()

Open
#123 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
576
Forks
69
PR merge metrics
No merged PRs in 30d

Description

We currently implement batch() by issuing every statement separately. Let's switch to libSQL batch interface instead (we need to expose it in libsql first).

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 local database implementation of Client.batch() and trace how the libsql dependency exposes its batch interface. Confirm the available libSQL API before changing the client, and consider the work complete when batch uses that interface rather than issuing statements separately.

Written by the indexing model from the issue text.

Assessment

Tech stack
sqlite, typescript
Domain
database
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.