Skip to content

Allow read-only access to the database #88

@bernatesquirol

Description

@bernatesquirol

It would be great to be able to reference as a read-only an already created storage-database.
A use case is using acebase as a "cache" in AWS Lambda, where the writing of files is forbidden, but the reading is allowed.

In short, being able to change this r+->r from function openDatabaseFile in storage-acebase.js

this.file = fd = await pfs.open(filename, 'r+', 0).catch(err => {

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions