Skip to content

datasette.add_memory_database() method #1247

@simonw

Description

@simonw

I just wrote this code:

ds = Datasette([], memory=True)
db = ds.add_database(Database(ds, memory_name="test_json_array"))

It would be nice if you didn't have to separately instantiate a database object here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions