tursodatabase / tursodatabase/libsql-js

Add support for named in-memory database

Open
#142 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
335
Forks
48
Avg merge
3d 2h
Merged PRs (30d)
3

Description

Support for named in-memory database:

file:memdb1?mode=memory&cache=shared

You can find more information here:
https://www.sqlite.org/inmemorydb.html

The use case is more for testing multi-tenant apps, where you have a main database and you have your tenant databases, currently it seems like testing these type of apps are imposible or very complicated.

Contributor guide

No contributing guide indexed for this repository

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

The issue names no repository files or tests; start by reading the linked SQLite in-memory database documentation and locating the existing in-memory database handling. Done means the URI file:memdb1?mode=memory&cache=shared works through the API, with coverage showing named shared databases can support the stated multi-tenant testing use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, sqlite
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.