php / php/doc-en

SQLite3::open - In-memory Databases And Shared Cache

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

Nobody has claimed this yet.

Extension: sqlite3
Dominant language
XML
Stars
596
Forks
890
Avg merge
1d 15h
Merged PRs (30d)
55

Description

Hi everyone !

From manual page: https://php.net/sqlite3.open

and

From https://www.sqlite.org/inmemorydb.html

According to sqlite documenttion it seems ok to provide memory named database with this kind of uri: "file:memdb1?mode=memory&cache=shared"

Php documentation does not mention this kind of uri, may be because it is not yet implemented ?

In fact, during my tests, that create a file, so, it is a missing implementation, or am I doing something wrong ?

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

Start with the PHP SQLite3::open manual page and the linked SQLite in-memory database documentation. Reproduce the reported behavior using the file:memdb1?mode=memory&cache=shared URI, then determine whether the PHP documentation should describe support or the observed limitation. Done means the relevant manual text accurately reflects the verified behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, sqlite
Domain
databases, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 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.